原文地址:http://hbase.apache.org/book/configuration.html#basic.prerequisites
Table 2.1. Hadoop version support matrix
HBase-0.92.x | HBase-0.94.x | HBase-0.96.0 | HBase-0.98.0 | |
---|---|---|---|---|
Hadoop-0.20.205 | S | X | X | X |
Hadoop-0.22.x | S | X | X | X |
Hadoop-1.0.0-1.0.2[a] | S | S | X | X |
Hadoop-1.0.3 | S | S | S | X |
Hadoop-1.1.x | NT | S | S | X |
Hadoop-0.23.x | X | S | NT | X |
Hadoop-2.0.x-alpha | X | NT | X | X |
Hadoop-2.1.0-beta | X | NT | S | X |
Hadoop-2.2.0 | X | NT[b] | S | S |
Hadoop-2.x | X | NT | S | S |
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 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.