YCSB icon indicating copy to clipboard operation
YCSB copied to clipboard

[READ-FAILED] when using ycsb 0.17.0 and cassandra

Open TheodoreSKong opened this issue 3 years ago • 2 comments

load command: bin/ycsb.sh load cassandra-cql -P workloads/workloadb -P cassandra.properties outputs: `YCSB Client 0.17.0

Loading workload... Starting test. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. DBWrapper: report latency for each error is false and specific error codes to track for latency are: [] [OVERALL], RunTime(ms), 3633 [OVERALL], Throughput(ops/sec), 275.2546105147261 [TOTAL_GCS_PS_Scavenge], Count, 1 [TOTAL_GC_TIME_PS_Scavenge], Time(ms), 11 [TOTAL_GC_TIME_%PS_Scavenge], Time(%), 0.30278007156619874 [TOTAL_GCS_PS_MarkSweep], Count, 0 [TOTAL_GC_TIME_PS_MarkSweep], Time(ms), 0 [TOTAL_GC_TIME%PS_MarkSweep], Time(%), 0.0 [TOTAL_GCs], Count, 1 [TOTAL_GC_TIME], Time(ms), 11 [TOTAL_GC_TIME%], Time(%), 0.30278007156619874 [CLEANUP], Operations, 1 [CLEANUP], AverageLatency(us), 2241536.0 [CLEANUP], MinLatency(us), 2240512 [CLEANUP], MaxLatency(us), 2242559 [CLEANUP], 95thPercentileLatency(us), 2242559 [CLEANUP], 99thPercentileLatency(us), 2242559 [INSERT], Operations, 1000 [INSERT], AverageLatency(us), 624.374 [INSERT], MinLatency(us), 291 [INSERT], MaxLatency(us), 25727 [INSERT], 95thPercentileLatency(us), 1146 [INSERT], 99thPercentileLatency(us), 1694 [INSERT], Return=OK, 1000 run command:bin/ycsb.sh load cassandra-cql -P workloads/workloadb -P cassandra.propertiesoutputs:YCSB Client 0.17.0

Loading workload... Starting test. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. DBWrapper: report latency for each error is false and specific error codes to track for latency are: [] [OVERALL], RunTime(ms), 3595 [OVERALL], Throughput(ops/sec), 278.1641168289291 [TOTAL_GCS_PS_Scavenge], Count, 1 [TOTAL_GC_TIME_PS_Scavenge], Time(ms), 15 [TOTAL_GC_TIME_%PS_Scavenge], Time(%), 0.4172461752433936 [TOTAL_GCS_PS_MarkSweep], Count, 0 [TOTAL_GC_TIME_PS_MarkSweep], Time(ms), 0 [TOTAL_GC_TIME%PS_MarkSweep], Time(%), 0.0 [TOTAL_GCs], Count, 1 [TOTAL_GC_TIME], Time(ms), 15 [TOTAL_GC_TIME%], Time(%), 0.4172461752433936 [READ], Operations, 0 [READ], AverageLatency(us), NaN [READ], MinLatency(us), 9223372036854775807 [READ], MaxLatency(us), 0 [READ], 95thPercentileLatency(us), 0 [READ], 99thPercentileLatency(us), 0 [READ], Return=ERROR, 958 [CLEANUP], Operations, 1 [CLEANUP], AverageLatency(us), 2243584.0 [CLEANUP], MinLatency(us), 2242560 [CLEANUP], MaxLatency(us), 2244607 [CLEANUP], 95thPercentileLatency(us), 2244607 [CLEANUP], 99thPercentileLatency(us), 2244607 [READ-FAILED], Operations, 958 [READ-FAILED], AverageLatency(us), 529.5521920668059 [READ-FAILED], MinLatency(us), 203 [READ-FAILED], MaxLatency(us), 30543 [READ-FAILED], 95thPercentileLatency(us), 1190 [READ-FAILED], 99thPercentileLatency(us), 1706 [UPDATE], Operations, 42 [UPDATE], AverageLatency(us), 1256.3333333333333 [UPDATE], MinLatency(us), 472 [UPDATE], MaxLatency(us), 7023 [UPDATE], 95thPercentileLatency(us), 2853 [UPDATE], 99thPercentileLatency(us), 7023 [UPDATE], Return=OK, 42 cassandra.properties:hosts=127.0.0.1 port=9042 cassandra.keyspace=ycsb cassandra.readconsistencylevel=ANY cassandra.writeconsistencylevel=ANY cassandra.connecttimeoutmillis=100000000 cassandra.readtimeoutmillis=100000000 `

TheodoreSKong avatar May 18 '22 13:05 TheodoreSKong

please include an slf4j binding so that you can get logging from the cassandra client that gives failure details.

busbey avatar May 23 '22 14:05 busbey

My problem is solved, please refer to #1612 , hope it can help you.

genghenggao avatar Aug 03 '23 01:08 genghenggao