标签:
1. You should guarantee you have installed hadoop on your computers.
2. Download and uncompress the Hbase pakage by using commands:
$wget {urlLink}
$tar -zxvf file .tar.gz
3. Set environment variables:
$export HBASE_PREFIX=/usr/local/hbase
$export PATH=$PATH:$HBASE_PREFIX/bin
4. vim hbase-env.sh:
export JAVA_HOME=/url/lib/jvm/java-8-oracle
5. vim hbase-site.xml
<property>
<name>hbase.rootdir</name>
<value>hdfs://node13:10001</value>
</property>
6. Start hadoop first, then hbase:
You must start hadoop first. The order cannot be reversed.
7. Go to node14:60010. You will see the hbase management page.
Notation: node13 is my hadoop master and node 14 is my hbaser master.
Reference:
[1] "Introduction to hbase" in YouTube.
标签:
原文地址:http://www.cnblogs.com/wubdut/p/5294268.html