Building Hive on JDK11

2020-07-13 Thread David
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 t

Re: Building Hive on JDK11

2020-07-13 Thread Panos Garefalakis
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

Re: Building Hive on JDK11

2020-07-13 Thread David
Hey Panos, Thanks so much! I put in a PR with what I THINK is the correct version, but I don't have a way to test this. https://github.com/kgyrtkirk/hive-dev-box/pull/5/files Having just stumbled on this, I'm not sure that Hive should be building with zulu as most folks run on OpenJDK or Oracle

Re: Building Hive on JDK11

2020-07-13 Thread Panos Garefalakis
Hey David, Yes we probably need to switch to OpenJDK -- latest PR seems on the right track (https://github.com/kgyrtkirk/hive-dev-box/pull/6) Regarding testing one way to go would be: 1) populate your own Docker Image based on the above executor with jdk11 support 2) update your hive clone repo J

Re: Building Hive on JDK11

2020-07-15 Thread David
Hello Panagiotis, Thanks for all your help on this. I have put together a new PR. https://github.com/kgyrtkirk/hive-dev-box/pull/6/files I am trying to test by building a new pipeline in Jenkins, but I don't seem to have permissions to do anything other than view. I did notice that I am logged

Re: Building Hive on JDK11

2020-07-15 Thread David
Ok, I figured out that it's pulling credentials from GitHub. My personal GitHub account is linked in GitHub with Apache's systems. Not sure if it syncs with Jenkins or does someone need to perform a manual action to grant me escalated privileges in Jenkins? Thanks. On Wed, Jul 15, 2020 at 9:45