You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/06 23:32:21 UTC

[GitHub] [spark] 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)

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_r281403464
 
 

 ##########
 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:
   Yes. we already have these log message:
   ![image](https://user-images.githubusercontent.com/5399861/57261352-07399700-709a-11e9-9074-f6faf2097f7d.png)
   https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/105106/consoleFull

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org