HyukjinKwon 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_r313794664
 
 

 ##########
 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:
   Nice

----------------------------------------------------------------
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

Reply via email to