HyukjinKwon commented on pull request #33007: URL: https://github.com/apache/spark/pull/33007#issuecomment-867543139
Hm .. in the plain env with Ubuntu (Jenkins) and another CI (Binder), the build starts to fail with the error below (during `scala-maven-plugin` compilation) after this change. Both Ubuntus installed OpenJDK via `apt-get install openjdk-8-jdk`. ``` [ERROR] ## Exception when compiling 13 sources to /ephemeral/jenkins/shared_job_workspace/spark/common/tags/target/scala-2.12/classes java.io.IOException: Cannot run program "/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javac" (in directory "/ephemeral/jenkins/shared_job_workspace/runtime"): error=2, No such file or directory java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) ... ``` Setting Java home and path explicitly work: ```bash export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 export PATH=$JAVA_HOME/bin:$PATH ``` I thought that this is my env issue but it happens in two different CI with plain Ubuntu. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
