hadoop hbase 快速启动 关闭 配置:
vim ~/.bashrc
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 //JDK安装路径
export HADOOP_HOME=/usr/local/hadoop //Hdoop 安装路径
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export PATH=$PATH:/usr/local/hadoop/sbin:/usr/local/hadoop/bin:/usr/local/hbase/bin //(Hbase安装路径)
source ~/.bashrc
Hdoop 启动:
start-dfs.sh
Hbase 启动:
start-hbase.sh
hbase shell (进入Hbase shell 界面)
退出 Hbase shell:ctrl+d
Hbase 关闭:
stop-hbase.sh
Hdoop关闭:
stop-dfs.sh