设为首页 加入收藏

TOP

hbase自带的测试工具Performanceeva luation
2019-04-14 13:49:04 】 浏览:33
Tags:hbase 自带 测试工具 Performanceeva luation
[stack@aa0-000-12 ~]$ ./hadoop-trunk/src/contrib/hbase/bin/hbase org.apache.hadoop.hbase.Performanceeva luation
Usage: java org.apache.hadoop.hbase.Performanceeva luation[--master=hostort] [--miniCluster] <command> <nclients>

Options:
master Specify host and port of HBase cluster master. If not present,

微软雅黑', '宋体';font-size:14px;line-height:21px;"> 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
sequentialReadRun 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 eva luation client:
$ bin/hbase org.apache.hadoop.hbase.Performanceeva luation sequentialWrite 1

可以看到可以测试随机读,随机写,顺序读,顺序写,全扫描等操作,操作也简单,command后面再加一个整数值(HRegionServers的数目),范围[1,500]

具体可以参见http://wiki.apache.org/hadoop/Hbase/Performanceeva luation

编程开发网
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Hbase HA 高可用环境搭建 下一篇Eclipse远程访问HBase

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

array(4) { ["type"]=> int(8) ["message"]=> string(24) "Undefined variable: jobs" ["file"]=> string(32) "/mnt/wp/cppentry/do/bencandy.php" ["line"]=> int(217) }