| 180 | {{{ |
| 181 | [stack@aa0-000-12 ~]$ ./hadoop-trunk/src/contrib/hbase/bin/hbase org.apache.hadoop.hbase.PerformanceEvaluation |
| 182 | Usage: java org.apache.hadoop.hbase.PerformanceEvaluation[--master=host:port] [--miniCluster] <command> <nclients> |
| 183 | |
| 184 | Options: |
| 185 | master Specify host and port of HBase cluster master. If not present, |
| 186 | address is read from configuration |
| 187 | miniCluster Run the test on an HBaseMiniCluster |
| 188 | |
| 189 | Command: |
| 190 | randomRead Run random read test |
| 191 | randomReadMem Run random read test where table is in memory |
| 192 | randomWrite Run random write test |
| 193 | sequentialRead Run sequential read test |
| 194 | sequentialWrite Run sequential write test |
| 195 | scan Run scan test |
| 196 | |
| 197 | Args: |
| 198 | nclients Integer. Required. Total number of clients (and HRegionServers) |
| 199 | running: 1 <= value <= 500 |
| 200 | Examples: |
| 201 | To run a single evaluation client: |
| 202 | $ bin/hbase org.apache.hadoop.hbase.PerformanceEvaluation sequentialWrite 1 |
| 203 | |
| 204 | }}} |
| 205 | |
| 206 | (from [http://wiki.apache.org/hadoop/Hbase/PerformanceEvaluation#0_1_2 http://wiki.apache.org/hadoop/Hbase/PerformanceEvaluation#0_1_2 ]) |
| 207 | |