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 2020/10/22 16:40:23 UTC

[GitHub] [spark] gemelen commented on pull request #30133: [SPARK-33104][BUILD][test-hadoop2.7] Exclude 'org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:tests'

gemelen commented on pull request #30133:
URL: https://github.com/apache/spark/pull/30133#issuecomment-714617960


   > This PR proposes to exclude `org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:tests` from `hadoop-yarn-server-tests`.
   > 
   > For some reasons, after SBT 1.3 upgrade at [SPARK-21708](https://issues.apache.org/jira/browse/SPARK-21708), SBT starts to pull the dependencies of 'hadoop-yarn-server-tests' with 'tests' classifier:
   > 
   > ```
   > org/apache/hadoop/hadoop-common/2.7.4/hadoop-common-2.7.4-tests.jar
   > org/apache/hadoop/hadoop-yarn-common/2.7.4/hadoop-yarn-common-2.7.4-tests.jar
   > org/apache/hadoop/hadoop-yarn-server-resourcemanager/2.7.4/hadoop-yarn-server-resourcemanager-2.7.4-tests.jar
   > ```
   > 
   > these were not pulled before the upgrade.
   
   This sounds exactly as a new behaviour of 'sbt-pom-reader' plugin of latest version. It could be corner case of scope/classifier clash of maven dependency that we are pulling via this plugin.


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



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