整理了一下hadoop hbase phoenix jdk版本稳定性支持对应关系。
参考了:apache官网https://cwiki.apache.org/confluence/display/HADOOP/Hadoop+Java+Versions
hbase官网http://hbase.apache.org/book.html#java
phoenix官网http://phoenix.apache.org/download.html。
1.hadoop jdk版本对应
Hadoop 3.x 只有 Java 8才能支持
Hadoop 2.7.x 到 2.x support Java 7 和 8都可以
更高或更低版本的java和hadoop先不要尝试了
2.hbase jdk版本支持对应关系
HBase Version | JDK 7 | JDK 8 | JDK 9 (Non-LTS) | JDK 10 (Non-LTS) | JDK 11 |
---|---|---|---|---|---|
2.0+ | no | yes | unknown HBASE-20264 | unknown HBASE-20264 | unknown HBASE-21110 |
1.2+ | yes | yes | unknown HBASE-20264 | unknown HBASE-20264 | unknown HBASE-21110 |
注意:hbase从未运行再java 6上,而且必须在每个节点上配置JAVA_HOME的环境变量或hbase-env.sh中配置java环境地址。
3.hbase hadoop 版本对应
HBase-1.2.x, HBase-1.3.x | HBase-1.4.x | HBase-1.5.x | HBase-2.0.x | HBase-2.1.x | HBase-2.2.x | |
---|---|---|---|---|---|---|
Hadoop-2.4.x | yes | no | no | no | no | no |
Hadoop-2.5.x | yes | no | no | no | no | no |
Hadoop-2.6.0 | no | no | no | no | no | no |
Hadoop-2.6.1+ | yes | no | no | yes | no | no |
Hadoop-2.7.0 | no | no | no | no | no | no |
Hadoop-2.7.1+ | yes | yes | no | yes | yes | no |
Hadoop-2.8.[0-2] | no | no | no | no | no | no |
Hadoop-2.8.[3-4] | unknown | unknown | no | yes | yes | no |
Hadoop-2.8.5+ | unknown | unknown | yes | yes | yes | yes |
Hadoop-2.9.[0-1] | no | no | no | no | no | no |
Hadoop-2.9.2+ | unknown | unknown | yes | unknown | unknown | yes |
Hadoop-3.0.[0-2] | no | no | no | no | no | no |
Hadoop-3.0.3+ | no | no | no | yes | yes | no |
Hadoop-3.1.0 | no | no | no | no | no | no |
Hadoop-3.1.1+ | no | no | no | yes | yes | yes |
4.hbase phoenix 版本对应
Version | Release Date | |
---|---|---|
5.0.0-HBase-2.0 | 04/jul/2018 | |
4.14.2-HBase-1.4 | 28/may/2019 | |
4.14.2-HBase-1.3 | 28/may/2019 | |
4.14.0-cdh5.14.2 | 09/jun/2018 | |
4.14.0-cdh5.13.2 | 09/jun/2018 | |
4.14.0-cdh5.12.2 | 09/jun/2018 | |
4.14.0-cdh5.11.2 | 09/jun/2018 | |
5.0.0-alpha-HBase-2.0 | 09/feb/2018 |