Hbase:0.2tools
提供: LunaBiblos
Software > DataBase > KeyValueストア > Hbaseの利用 > Hbase:0.2tools
目次 |
HBASE SURGERY TOOLS
close_region
Close a single region. Optionally specify regionserver. Examples:
hbase> close_region 'REGIONNAME' hbase> close_region 'REGIONNAME', 'REGIONSERVER_IP:PORT'
compact
Compact all regions in passed table or pass a region row to compact an individual region
disable_region
Disable a single region
enable_region
Enable a single region. For example:
hbase> enable_region 'REGIONNAME'
flush
Flush all regions in passed table or pass a region row to flush an individual region. For example:
hbase> flush 'TABLENAME' hbase> flush 'REGIONNAME'
major_compact
Run major compaction on passed table or pass a region row to major compact an individual region
split
Split table or pass a region row to split individual region
zk
Low level ZooKeeper surgery tools. Type "zk 'help'" for more information (Yes, you must quote 'help').
zk_dump
Dump status of HBase cluster as seen by ZooKeeper.
Above commands are for 'experts'-only as misuse can damage an install