HBase各版本對Hadoop版本的支持情況


安裝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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM