环境: HBase, Yahoo Cloud System Benchmark(YCSB)
测试方法1:
hbase org.apache.hadoop.hbase.PerformanceEvaluation randomRead 3
测试方法2:
wget https://github.com/downloads/brianfrankcooper/YCSB/ycsb-0.1.4.tar.gz
tar xfvz ycsb-0.1.4
cd ycsb-0.1.4
加载数据
bin/ycsb load hbase -P workloads/workloada -p columnfamily=f1 -p recordcount=10000 -s -threads 10
测试
bin/ycsb load hbase -P workloads/workloada -p columnfamily=f1 -p recordcount=10000 -s -threads 10