You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Jonathan Turner Eagles (Jira)" <ji...@apache.org> on 2022/07/13 19:51:00 UTC

[jira] [Created] (MAPREDUCE-7395) Spark fails to compile against hadoop 2.10.2 due to missing hadoop-common transitive dependency

Jonathan Turner Eagles created MAPREDUCE-7395:
-------------------------------------------------

             Summary: Spark fails to compile against hadoop 2.10.2 due to missing hadoop-common transitive dependency
                 Key: MAPREDUCE-7395
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7395
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
            Reporter: Jonathan Turner Eagles
            Assignee: Jonathan Turner Eagles


hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml

MAPREDUCE-7320 added direct usage of org.apache.hadoop.test.GenericTestUtils for MiniYARNCluster but kept hadoop-common dependency scope as test. However, downstream components wishing to use MiniYARNCluster as a test dependency, but don't have a direct dependency on hadoop-common will fail since test scope dependencies are not transitively inherited in the under the test scope.

https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org