标签:hit with 不同 map lsp 解压 2.0 通过 env
HBase Version | JDK 6 | JDK 7 | JDK 8 |
2 | Not Supported | Not Supported | yes |
1.3 | Not Supported | yes | yes |
1.2 | Not Supported | yes | yes |
1.1 | Not Supported | yes | Running with JDK 8 will work but is not well tested. |
1 | Not Supported | yes | Running with JDK 8 will work but is not well tested. |
0.98 | yes | yes | Running with JDK 8 works but is not well tested. Building with JDK 8 would require removal of the deprecated remove() method of thePoolMap class and is under consideration. See HBASE-7608 for more information about JDK 8 support. |
0.94 | yes | yes | N/A |
HBase-0.94.x | HBase-0.98.x (Support for Hadoop 1.1+ is eprecated.) |
HBase-1.0.x (Hadoop 1.x is NOT supported) | HBase-1.1.x | HBase-1.2.x | HBase-1.3.x | |
Hadoop-1.0.x | X | X | X | X | X | X |
Hadoop-1.1.x | S | NT | X | X | X | X |
Hadoop-0.23.x | S | X | X | X | X | X |
Hadoop-2.0.x-alpha | NT | X | X | X | X | X |
Hadoop-2.1.0-beta | NT | X | X | X | X | X |
Hadoop-2.2.0 | NT | S | NT | NT | X | X |
Hadoop-2.3.x | NT | S | NT | NT | X | X |
Hadoop-2.4.x | NT | S | S | S | S | S |
Hadoop-2.5.x | NT | S | S | S | S | S |
Hadoop-2.6.0 | X | X | X | X | X | X |
Hadoop-2.6.1+ | NT | NT | NT | NT | S | S |
Hadoop-2.7.0 | X | X | X | X | X | X |
Hadoop-2.7.1+ | NT | NT | NT | NT | S | S |
https://mirrors.tuna.tsinghua.edu.cn/apache/hbase/1.2.4/hbase-1.2.4-bin.tar.gz
第二步,解压到服务器
tar -zxvf hbase-1.2.4
export JAVA_HOME=/usr/java/jdk1.8.0_101
export HBASE_MANAGES_ZK=false
# The maximum amount of heap to use. Default is left to JVM default. export HBASE_HEAPSIZE=8G
2.修改hbase-site.xml
<configuration> <property> <name>hbase.rootdir</name> <value>hdfs://node1:9000/hbase</value> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>node1:2181,node2:2181,node3:2181</value> </property> </configuration>
3.指定机器为regionserver,不单独指定master。其中:在哪个机器上启动,哪台就是master,在regionservers文件说明要启动的HRegionServer
vim regionservers node1 node2 node3 node4
第四步,拷贝配置好的hbase文件到其他节点
第五步:
标签:hit with 不同 map lsp 解压 2.0 通过 env
原文地址:http://www.cnblogs.com/itboys/p/6282232.html