/home/hadoop/.bashrc
export HBASE_INSTALL=/home/bigdata/hbase/
export PATH=$PATH:$HBASE_INSTALL/bin
$ source /home/hadoop/.bashrc
/home/bigdata/hbase/conf/hbase-env.sh
export JAVA_HOME=/opt/java/jdk-11.0.5/
export HBASE_CLASSPATH=/home/bigdata/hbase/conf/
export HBASE_MANAGES_ZK=true
Start
/home/bigdata/hbase/bin/start-hbase.sh
http://localhost:16010
Shell
/home/bigdata/hbase/bin/hbase shell
Shell - Command
create / list / describe / put / scan / get / display / drop / quit
create 'test', 'cf'
list 'test'
describe 'test'
put 'test', 'row1', 'cf:a', 'value1'
put 'test', 'row2', 'cf:b', 'value2'
put 'test', 'row3', 'cf:c', 'value3'
scan 'test'
get 'test', 'row1'
disable 'test'
enable 'test'
drop 'test'
Stop
/home/bigdata/hbase/bin/hbase-daemon.sh stop master
/home/bigdata/hbase/bin/stop.hbase.sh
看到最后 觉得还是看apache的吧
Apache HBase ™ Reference Guide