Hadoop 環境準備
阿新 • • 發佈:2017-12-26
nowrap pos lan src blog hba san 軟件 png
1:系統環境
宿主機:window 7
虛擬機管理系統:VitualBox 5.1.26
虛擬機系統:ubuntu 17.04
JDK:1.8.0_151
- 創建3個vitualbox 虛擬機
- 修改/etc/hosts:
192.168.2.1 master
192.168.2.2 slave1
192.168.2.3 slave2
- 修改/etc/hostname:
每臺虛擬機分別為master, slave1, slave2
- 修改環境變量:
對於當前用戶,編輯用戶主目錄下的隱藏文件 ~/.bashrc 如下
若想對所有用戶起作用,則可以修改文件 /etc/profile
編輯完後,執行 source ~/.bashrc 或者重新登錄可生效
2:確定軟件版本 http://hbase.apache.org/book.html#arch.overview
Hadoop version support matrix
- "S" = supported
- "X" = not supported
- "NT" = Not tested
|
HBase-1.1.x |
HBase-1.2.x |
HBase-1.3.x |
HBase-2.0.x |
Hadoop-2.0.x-alpha |
X |
X |
X |
X |
Hadoop-2.1.0-beta |
X |
X |
X |
X |
Hadoop-2.2.0 |
NT |
X |
X |
X |
Hadoop-2.3.x |
NT |
X |
X |
X |
Hadoop-2.4.x |
S |
S |
S |
X |
Hadoop-2.5.x |
S |
S |
S |
X |
Hadoop-2.6.0 |
X |
X |
X |
X |
Hadoop-2.6.1+ |
NT |
S |
S |
S |
Hadoop-2.7.0 |
X |
X |
X |
X |
Hadoop-2.7.1+ |
NT |
S |
S |
S |
Hadoop-2.8.0 |
X |
X |
X |
X |
Hadoop-2.8.1 |
X |
X |
X |
X |
Hadoop-3.0.0-alphax |
NT |
NT |
NT |
NT |
Hadoop 環境準備