设为首页 加入收藏

TOP

hbase自带的测试工具Performanceeva luation
2019-04-14 13:49:04 】 浏览:72
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,
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

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目