HBase Shell#
General Commands#
statusversiontable_helpwhoami
Data Definition Language#
createlist- Lists all the tables in HBase.disableis_disabledenableis_enableddescribealterexistsdropdrop_allJava Admin API
Data Manipulation Language#
putgetdeletedeleteallscan- Scans and returns the table data.counttruncateJava client API
Starting HBase Shell#
./bin/hbase shell
Results#
@shell.hbase.configuration.get("hbase.zookeeper.quorum")
@shell.hbase.configuration.get("hbase.zookeeper.property.clientPort")
@shell.hbase.configuration.get("hbase.master.info.port")
@shell.hbase.configuration.get("hbase.master.port")
@shell.hbase.configuration.get("hbase.rootdir")
@shell.hbase.configuration.get("hbase.zookeeper.property.dataDir")