Hadoop与之对应的Hbase版本问题 .

来源:互联网 发布:实验二网络应用层协议 编辑:程序博客网 时间:2024/05/16 09:36

The below table shows some information about what versions of Hadoop are supported by various HBase versions. Based on the version of HBase, you should select the most appropriate version of Hadoop. We are not in the Hadoop distro selection business. You can use Hadoop distributions from Apache, or learn about vendor distributions of Hadoop athttp://wiki.apache.org/hadoop/Distributions%20and%20Commercial%20Support

Hadoop 2.x is better than Hadoop 1.x

Hadoop 2.x is faster, with more features such as short-circuit reads which will help improve your HBase random read profile as well important bug fixes that will improve your overall HBase experience. You should run Hadoop 2. rather than Hadoop 1. if you can.

Table 2.1. Hadoop version support matrix

 HBase-0.92.xHBase-0.94.xHBase-0.96.0Hadoop-0.20.205SXXHadoop-0.22.xSXXHadoop-1.0.0-1.0.2[a]SSXHadoop-1.0.3+SSSHadoop-1.1.xNTSSHadoop-0.23.xXSNTHadoop-2.0.x-alphaXNTXHadoop-2.1.0-betaXNTSHadoop-2.2.0XNTSHadoop-2.xXNTS

[a]HBase requires hadoop 1.0.3 at a minimum; there is an issue where we cannot find KerberosUtil compiling against earlier versions of Hadoop.


Where

S = supported and tested,X = not supported,NT = it should run, but not tested enough.

Replace the Hadoop Bundled With HBase!

Because HBase depends on Hadoop, it bundles an instance of the Hadoop jar under itslib directory. The bundled jar is ONLY for use in standalone mode. In distributed mode, it iscritical 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.

0 0
原创粉丝点击