hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-888) clean up POM dependencies
Date Fri, 10 Jan 2014 01:50:50 GMT

    [ https://issues.apache.org/jira/browse/YARN-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867412#comment-13867412
] 

Vinod Kumar Vavilapalli commented on YARN-888:
----------------------------------------------

Playing with the patch.

hadoop-yarn-project's pom.xml has some deps. So this indeed looks like the hybrid approach?

I ran dependency:analyze, seeing this for hadoop-yarn-api
{code}
[INFO] --- maven-dependency-plugin:2.2:analyze (default-cli) @ hadoop-yarn-api ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.apache.hadoop:hadoop-common:jar:3.0.0-SNAPSHOT:provided
[WARNING]    org.apache.hadoop:hadoop-annotations:jar:3.0.0-SNAPSHOT:compile
{code}

I guess this is what you meant by the following in the pom files:
{code}
    <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
{code}

If dependency plugin is broken like this, we will have to depend (no pun intended) on something
else for correctness. We should set up a single node cluster atleast to ensure that all is
well.

> clean up POM dependencies
> -------------------------
>
>                 Key: YARN-888
>                 URL: https://issues.apache.org/jira/browse/YARN-888
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.1.0-beta
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: YARN-888.patch, YARN-888.patch, yarn-888-2.patch
>
>
> Intermediate 'pom' modules define dependencies inherited by leaf modules.
> This is causing issues in intellij IDE.
> We should normalize the leaf modules like in common, hdfs and tools where all dependencies
are defined in each leaf module and the intermediate 'pom' module do not define any dependency.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message