Hey David, The current CI process is using a pre-populated docker image for running the tests: https://hub.docker.com/r/kgyrtkirk/hive-dev-box/tags The image is build based on the sources located here: https://github.com/kgyrtkirk/hive-dev-box/blob/master/tools/install_sdk.bash So I believe first we have to include java 11 as part of the image setup -- could you open a PR for java 11 there?
Cheers, Panagiotis On Mon, Jul 13, 2020 at 3:22 PM David <dam6...@gmail.com> wrote: > 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. >