Hello Gang,

I am working on getting Hive to build on OpenJDK 11 (PR #1241)

When Jenkins runs it, the build fails and I get an "Fatal error compiling:
invalid target release: 11" which means that it is using an older JDK.  I
looked at the build logs and see that JAVA_HOME is set to, what appears to
be, JDK 8.

  /usr/lib/jvm/zulu-8-amd64/

Is there any way to change this with my PR or does this require some
fidgeting with the entire CI process?


[2020-07-11T06:06:52.274Z] + . /etc/profile.d/confs.sh
[2020-07-11T06:06:52.274Z] ++ export MAVEN_OPTS=-Xmx2g
[2020-07-11T06:06:52.274Z] ++ MAVEN_OPTS=-Xmx2g
[2020-07-11T06:06:52.274Z] ++ export HADOOP_CONF_DIR=/etc/hadoop
[2020-07-11T06:06:52.274Z] ++ HADOOP_CONF_DIR=/etc/hadoop
[2020-07-11T06:06:52.274Z] ++ export HADOOP_LOG_DIR=/data/log
[2020-07-11T06:06:52.274Z] ++ HADOOP_LOG_DIR=/data/log
[2020-07-11T06:06:52.274Z] ++ export
'HADOOP_CLASSPATH=/etc/tez/:/active/tez/lib/*:/active/tez/*:/apps/lib/*'
[2020-07-11T06:06:52.274Z] ++
HADOOP_CLASSPATH='/etc/tez/:/active/tez/lib/*:/active/tez/*:/apps/lib/*'
[2020-07-11T06:06:52.274Z] ++ export HIVE_CONF_DIR=/etc/hive/
[2020-07-11T06:06:52.274Z] ++ HIVE_CONF_DIR=/etc/hive/
[2020-07-11T06:06:52.274Z] ++ export JAVA_HOME=/usr/lib/jvm/zulu-8-amd64/
[2020-07-11T06:06:52.274Z] ++ JAVA_HOME=/usr/lib/jvm/zulu-8-amd64/


Thanks.

Reply via email to