[ 
https://issues.apache.org/jira/browse/YARN-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated YARN-1456:
---------------------------------

    Attachment: YARN-1456-001.patch

The fix for this is trivial: explicitly add a hadoop-commons dependency to the 
{{hadoop-yarn-server-resourcemanager/pom.xml}}. 

This does not add any more dependencies to the RM -just lets IDEA pick up the 
transitive dependencies properly.

The patch does this and tweaks the namespace declaration of the 
{{hadoop-yarn-client/pom.xml}} so the IDE doesn't complain about Xml schemas

> IntelliJ IDEA gets dependencies wrong for  hadoop-yarn-server-resourcemanager
> -----------------------------------------------------------------------------
>
>                 Key: YARN-1456
>                 URL: https://issues.apache.org/jira/browse/YARN-1456
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.2.0
>         Environment: IntelliJ IDEA 12.x & 13.x beta
>            Reporter: Steve Loughran
>            Priority: Minor
>         Attachments: YARN-1456-001.patch
>
>
> When IntelliJ IDEA imports the hadoop POMs into the IDE, somehow it fails to 
> pick up all the transitive dependencies of the yarn-client, and so can't 
> resolve commons logging, com.google.* classes and the like.
> While this is probably an IDEA bug, it does stop you building Hadoop from 
> inside the IDE, making debugging significantly harder



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to