[stack@aa0-000-12 ~]$ ./hadoop-trunk/src/contrib/hbase/bin/hbase org.apache.hadoop.hbase.PerformanceEvaluation
Usage: java org.apache.hadoop.hbase.PerformanceEvaluation[--master=host
ort]
[--miniCluster] <command> <nclients>
Options:
master Specify host and port of HBase cluster master. If not present,
address is read from configuration
miniCluster Run the test on an HBaseMiniCluster
Command:
randomRead Run random read test
randomReadMem Run random read test where table is in memory
randomWrite Run random write test
sequentialRead Run sequential read test
sequentialWrite Run sequential write test
scan Run scan test
Args:
nclients Integer. Required. Total number of clients (and HRegionServers)
running: 1 <= value <= 500
Examples:
To run a single evaluation client:
$ bin/hbase org.apache.hadoop.hbase.PerformanceEvaluation sequentialWrite 1
可以看到可以测试随机读,随机写,顺序读,顺序写,全扫描等操作,操作也简单,command后面再加一个整数值(HRegionServers的数目),范围[1,500]
具体可以参见http://wiki.apache.org/hadoop/Hbase/PerformanceEvaluation
Usage: java org.apache.hadoop.hbase.PerformanceEvaluation[--master=host
ort]
[--miniCluster] <command> <nclients>Options:
master Specify host and port of HBase cluster master. If not present,
address is read from configuration
miniCluster Run the test on an HBaseMiniCluster
Command:
randomRead Run random read test
randomReadMem Run random read test where table is in memory
randomWrite Run random write test
sequentialRead Run sequential read test
sequentialWrite Run sequential write test
scan Run scan test
Args:
nclients Integer. Required. Total number of clients (and HRegionServers)
running: 1 <= value <= 500
Examples:
To run a single evaluation client:
$ bin/hbase org.apache.hadoop.hbase.PerformanceEvaluation sequentialWrite 1
可以看到可以测试随机读,随机写,顺序读,顺序写,全扫描等操作,操作也简单,command后面再加一个整数值(HRegionServers的数目),范围[1,500]
具体可以参见http://wiki.apache.org/hadoop/Hbase/PerformanceEvaluation
本文介绍HBase性能评估工具的使用方法,包括随机读写、顺序读写及全扫描等测试命令。用户可通过指定参数调整客户端数量进行性能测试。

1019

被折叠的 条评论
为什么被折叠?



