HBase各版本对Hadoop版本的支持情况

转载自:http://blog.csdn.net/sunny05296/article/details/54089194

安装HBase时,要考虑选择正确的Hadoop版本,否则可能出现不兼容的情况。

HBase各版本和Hadoop版本的支持情况,官方有相关说明,下面表格中:

"S" = 支持

"X" = 不支持

"NT" = 未测试

  HBase-0.94.x HBase-0.98.x (Support for Hadoop 1.1+ is deprecated.) HBase-1.0.x (Hadoop 1.x is NOT supported) HBase-1.1.x HBase-1.2.x HBase-1.3.x HBase-2.0.x

Hadoop-1.0.x

X

X

X

X

X

X

X

Hadoop-1.1.x

S

NT

X

X

X

X

X

Hadoop-0.23.x

S

X

X

X

X

X

X

Hadoop-2.0.x-alpha

NT

X

X

X

X

X

X

Hadoop-2.1.0-beta

NT

X

X

X

X

X

X

Hadoop-2.2.0

NT

S

NT

NT

X

X

X

Hadoop-2.3.x

NT

S

NT

NT

X

X

X

Hadoop-2.4.x

NT

S

S

S

S

S

X

Hadoop-2.5.x

NT

S

S

S

S

S

X

Hadoop-2.6.0

X

X

X

X

X

X

X

Hadoop-2.6.1+

NT

NT

NT

NT

S

S

S

Hadoop-2.7.0

X

X

X

X

X

X

X

Hadoop-2.7.1+

NT

NT

NT

NT

S

S

S

 
Hadoop 2.6.x

Hadoop distributions based on the 2.6.x line must have HADOOP-11710 applied
if you plan to run HBase on top of an HDFS Encryption Zone. Failure to do so will result in cluster failure and data loss. This patch is present in Apache Hadoop releases 2.6.1+.

 
Hadoop 2.7.x

Hadoop version 2.7.0 is not tested or supported as the Hadoop PMC has explicitly labeled that release as not being stable.

 
Replace the Hadoop Bundled With HBase!

Because HBase depends on Hadoop, it bundles an instance of the Hadoop jar under its lib directory. The bundled jar is ONLY for use in standalone mode. In distributed mode, it is critical that the version of Hadoop that is out on your cluster match what is under
HBase. Replace the hadoop jar found in the HBase lib directory with the hadoop jar you are running on your cluster to avoid version mismatch issues. Make sure you replace the jar in HBase everywhere on your cluster. Hadoop version mismatch issues have various
manifestations but often all looks like its hung up.

参考官方说明:
http://hbase.apache.org/book.html#configuration

上一篇:HDU1518 Square(DFS,剪枝是关键呀)


下一篇:openstack服务启动之nova-compute