HyukjinKwon commented on a change in pull request #24644:
[SPARK-27402][INFRA][FOLLOW-UP] Exclude 'hive-thriftserver' in modules to test
for hadoop3.2 for now
URL: https://github.com/apache/spark/pull/24644#discussion_r285415117
##########
File path: dev/sparktestsupport/modules.py
##########
@@ -568,6 +558,15 @@ def __hash__(self):
]
)
+# TODO: Skip hive-thriftserver module for hadoop-3.2. remove this once
hadoop-3.2 support it
+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")
+if hadoop_version == "hadoop3.2":
+ print("[info] Skip unsupported module:", "hive-thriftserver")
+ all_modules = [m for m in all_modules if m.name != "hive-thriftserver"]
Review comment:
Similarily, I tested `all_modules`. This is just to move the codes to remove
later in single place.
----------------------------------------------------------------
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]