centos7 hbase 搭建笔记
1.require:java环境,本地可用的hadoop
2.拷贝hbase文件(hive-1.2.6)
3.设置环境变量
export HBASE_HOME=/data/spark/bin/hbase export PATH=$PATH:$HBASE_HOME/bin
4.配置hbase
vi $HBASE_HOME/conf/hbase-site.xml <configuration> <property> <name>hbase.tmp.dir</name> <value>/data/spark/bin/hbase/tmp</value> </property> </configuration>
5.启动hbase服务
start-hbase.sh
6.测试
hbase hbase shell