码迷,mamicode.com
首页 > 其他好文 > 详细

Install Hbase

时间:2016-03-19 08:46:37      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:

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.

 

Install Hbase

标签:

原文地址:http://www.cnblogs.com/wubdut/p/5294268.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!