首页 > 其他 > 详细

HBase性能测试

时间:2014-06-18 09:57:39      阅读:398      评论:0      收藏:0      [点我收藏+]

hbase org.apache.hadoop.hbase.PerformanceEvaluation
Usage: java org.apache.hadoop.hbase.PerformanceEvaluation \
  [--miniCluster] [--nomapred] [--rows=ROWS] <command> <nclients>
 
Options:
 miniCluster     Run the test on an HBaseMiniCluster
 nomapred        Run multiple clients using threads (rather than use mapreduce)
 rows            Rows each client runs. Default: One million
 flushCommits    Used to determineifthe test should flush the table.  Default:false
 writeToWAL      Set writeToWAL on puts. Default: True
 
Command:
 filterScan      Run scan test using a filter to find a specific row based on it‘s value (make sure to use --rows=20)
 randomRead      Run random read test
 randomSeekScan  Run random seek and scan100test
 randomWrite     Run random write test
 scan            Run scan test (read every row)
 scanRange10     Run random seek scan with both start and stop row (max10rows)
 scanRange100    Run random seek scan with both start and stop row (max100rows)
 scanRange1000   Run random seek scan with both start and stop row (max1000rows)
 scanRange10000  Run random seek scan with both start and stop row (max10000rows)
 sequentialRead  Run sequential read test
 sequentialWrite Run sequential write 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 sequentialWrite1

 

http://blog.163.com/liaoxiangui@126/blog/#m=0&t=1&c=fks_084071081083084065081086086095083095084069093080082067

HBase性能测试,布布扣,bubuko.com

HBase性能测试

原文:http://www.cnblogs.com/diyunpeng/p/3793150.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!