[GitHub] [spark] wangyum commented on a change in pull request #25447: [DO-NOT-MERGE][test-hadoop3.2][test-maven] Investigate JAVA_HOME not being set properly
wangyum commented on a change in pull request #25447: [DO-NOT-MERGE][test-hadoop3.2][test-maven] Investigate JAVA_HOME not being set properly URL: https://github.com/apache/spark/pull/25447#discussion_r313794507 ## File path: dev/run-tests-jenkins.py ## @@ -183,6 +183,8 @@ def main(): os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop2.7" if "test-hadoop3.2" in ghprb_pull_title: os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop3.2" +os.environ["JAVA_HOME"] = "/usr/java/jdk-11.0.1" +os.environ["PATH"] = "/usr/java/jdk-11.0.1/bin:%s" % os.environ["PATH"] Review comment: It works: ![image](https://user-images.githubusercontent.com/5399861/63012224-722a1380-bebc-11e9-8bfa-d7615bc8c4db.png) 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] [spark] wangyum commented on a change in pull request #25447: [DO-NOT-MERGE][test-hadoop3.2][test-maven] Investigate JAVA_HOME not being set properly
wangyum commented on a change in pull request #25447: [DO-NOT-MERGE][test-hadoop3.2][test-maven] Investigate JAVA_HOME not being set properly URL: https://github.com/apache/spark/pull/25447#discussion_r313787954 ## File path: dev/run-tests-jenkins.py ## @@ -183,6 +183,8 @@ def main(): os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop2.7" if "test-hadoop3.2" in ghprb_pull_title: os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop3.2" +os.environ["JAVA_HOME"] = "/usr/java/jdk-11.0.1" +os.environ["PATH"] = "/usr/java/jdk-11.0.1/bin:%s" % os.environ["PATH"] Review comment: Yes, we need set `PATH` for jdk 11. 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: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org