我正在使用 CDH 并通过安装的 HBase 并下载了 YCSB 包。现在在使用以下命令在 Hbase 上运行测试时:
ycsb run hbase10 -p columnfamily=cf -P /usr/share/ycsb/workloads/workloada -s -threads 100 -p recordcount=5000 -p operationcount=5000
它给出的输出如下,其中接近 50% 的读取失败:
[OVERALL], RunTime(ms), 7059.0
[OVERALL], Throughput(ops/sec), 708.3156254426973
[READ-FAILED], Operations, 938.0
[READ-FAILED], AverageLatency(us), 6417.266524520256
[READ-FAILED], MinLatency(us), 897.0
[READ-FAILED], MaxLatency(us), 157567.0
[READ-FAILED], 95thPercentileLatency(us), 18223.0
[READ-FAILED], 99thPercentileLatency(us), 45887.0
[CLEANUP], Operations, 200.0
[CLEANUP], AverageLatency(us), 1489648.93
[CLEANUP], MinLatency(us), 3.0
[CLEANUP], MaxLatency(us), 5054463.0
[CLEANUP], 95thPercentileLatency(us), 4960255.0
[CLEANUP], 99thPercentileLatency(us), 5046271.0
[READ], Operations, 1559.0
[READ], AverageLatency(us), 7588.287363694676
[READ], MinLatency(us), 970.0
[READ], MaxLatency(us), 178047.0
[READ], 95thPercentileLatency(us), 21903.0
[READ], 99thPercentileLatency(us), 59583.0
[READ], Return=OK, 1559
[READ], Return=NOT_FOUND, 938
[UPDATE], Operations, 2503.0
[UPDATE], AverageLatency(us), 13026.518977227328
[UPDATE], MinLatency(us), 2686.0
[UPDATE], MaxLatency(us), 200575.0
[UPDATE], 95thPercentileLatency(us), 33599.0
[UPDATE], 99thPercentileLatency(us), 61599.0
[UPDATE], Return=OK, 2503
我尝试在创建数据库期间更改 split_no,并且在创建表期间也启用了读取复制因子并将其设为 3。
我正在寻找为什么会发生这种情况,但没有运气,有人可以帮我完成这项工作吗?