Hadoop-2.6.0偽分布--安裝配置hbase,hadoop-2.6.0hbase

來源:互聯網
上載者:User

Hadoop-2.6.0偽分布--安裝配置hbase,hadoop-2.6.0hbase

Hadoop-2.6.0偽分布--安裝配置hbase

1、用到的hadoop與hbase:

 

2、安裝hadoop:

具體安裝看這篇博文:

http://blog.csdn.net/baolibin528/article/details/42939477

 

hbase所有版本下載

http://archive.apache.org/dist/hbase/


3、解壓hbase:

 

結果:

 

4、修改hbase 檔案許可權為一般使用者權限:

 

 

5、設定環境變數:

配置內容:

儲存配置:

 

6、進入設定檔目錄:

 

7、配置 hbase-env.sh檔案:

 

配置內容:

 

8、配置 hbase-site.xml:

配置內容:

 

9、啟動hadoop:

 

查看進程:

只有hadoop相關進程。

 

10、啟動hbase:

結果:

 

11、查看進程:

有hadoop和hbase相關進程:

 

12、進入hbase shell:

結果:

 

13、退出並關閉hbase:

14、查看進程:

只有hadoop相關進程:

15、關閉hadoop:

結果:

 

 

 

 

 

本文搭建的 Hbase  用的是內建的 zookeeper,故設定為true:

 

export HBASE_MANAGES_ZK=true 

此配置資訊,設定由hbase自己管理zookeeper,不需要單獨的zookeeper。

 

 

 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.