在YCSB基准测试期间,Hbase [READ-FAILED]

时间:2016-05-31 04:53:48

标签: hbase ycsb

我正在使用CDH并通过那个insatlled HBase并下载了YCSB Package.Now,同时使用以下命令在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。

我正在寻找为什么会这样,但没有运气,有人可以帮助我做这项工作吗?

1 个答案:

答案 0 :(得分:0)

我在YCSB运行中获得了相同的行为。我仍然没有解决这个问题,但这可能对你的情况有所帮助:

https://github.com/brianfrankcooper/YCSB/issues/639

这家伙通过将工作负载文件中的field_length值从255降低到250来解决了这个问题。