ycsb基准测试期间hbase[读取失败]

tzxcd3kk  于 2021-06-09  发布在  Hbase
关注(0)|答案(1)|浏览(380)

我正在使用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\ u no,在表创建期间还启用了read replication factor并设置为3。
我正在寻找为什么会这样,但运气不好,有人能帮我做这件事吗??

u4vypkhs

u4vypkhs1#

我的ycsb跑步也有同样的表现。我仍然没有解决这个问题,但这可能对您的案例有所帮助:
https://github.com/brianfrankcooper/ycsb/issues/639
他通过将工作负载文件中的字段长度值从255降低到250来解决这个问题。

相关问题