wangyum commented on a change in pull request #24391: 
[SPARK-27402][SQL][test-hadoop3.2][test-maven]  Fix hadoop-3.2 test 
issue(except the hive-thriftserver module)
URL: https://github.com/apache/spark/pull/24391#discussion_r282758490
 
 

 ##########
 File path: dev/sparktestsupport/modules.py
 ##########
 @@ -18,9 +18,15 @@
 from functools import total_ordering
 import itertools
 import re
+import os
 
 all_modules = []
 
+if os.environ.get("AMPLAB_JENKINS"):
+    hadoop_version = os.environ.get("AMPLAB_JENKINS_BUILD_PROFILE", 
"hadoop2.7")
+else:
+    hadoop_version = os.environ.get("HADOOP_PROFILE", "hadoop2.7")
+
 
 Review comment:
   OK. updated to:
   
![image](https://user-images.githubusercontent.com/5399861/57506520-9d85eb00-732e-11e9-8a7e-05ef7319d359.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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to