close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Aug 11, 2008, 11:35:43 AM (17 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v20
|
v21
|
|
| 178 | 178 | |
| 179 | 179 | = 四、效能測試 = |
| | 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 | |
| 180 | 208 | = 五、開發程式 = |
| 181 | 209 | |