我正在努力使用IBM JDK将Hive 1.1.0移植到使用RHEL6的zLinux。你可以想象这会引起很多问题。首先,由于依赖libstdc++-static
,RHEL6目前还没有办法安装Snappy Java。有很多指南可以让你通过在RHEL7上安装并处理JAR来获得系统的1.1.3,我从这里拿走了我的:
linux-on-ibm-z/docs - Snappy Java
我还在设置的Hive查询语言公园遇到了另一个有趣的问题,即它在这里失败了,存在以下问题:
[INFO] Hive Common ....................................... SUCCESS [4.026s]
[INFO] Hive Serde ........................................ SUCCESS [4.401s]
[INFO] Hive Metastore .................................... SUCCESS [16.867s]
[INFO] Hive Ant Utilities ................................ SUCCESS [0.607s]
[INFO] Spark Remote Client ............................... SUCCESS [3.787s]
[INFO] Hive Query Language ............................... FAILURE [16.621s]
[INFO] Hive Service ...................................... SKIPPED
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hive-exec: Compilation failure: Compilation failure:
[ERROR] /home/test/work/hive/ql/src/java/org/apache/hadoop/hive/ql/debug/Utils.java:[36,27] cannot find symbol
import com.sun.management.HotSpotDiagnosticMXBean;
private static final String HOTSPOT_BEAN_NAME = "com.sun.management:type=HotSpotDiagnostic";
答案 0 :(得分:0)
我设法通过应用以下补丁中提到的差异来解决问题 - https://issues.apache.org/jira/secure/attachment/12696113/HIVE-9545.1.patch.txt