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 "Radim Kolar (JIRA)" <ji...@apache.org> on 2012/04/27 13:11:49 UTC

[jira] [Commented] (MAPREDUCE-4116) Missing POM dependency for hadoop-yarn-common

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

Radim Kolar commented on MAPREDUCE-4116:
----------------------------------------

This is problematic when building custom ResourceCalculatorPlugin which depends on yarn-common because class it is extending is in that module. Maven should pull dependencies automatically.


[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /usr/home/admin/repos/hadoop-freebsd/target/generated-sources/swg/FreeBSDResourceCalculator.java:[11,7] cannot access org.apache.hadoop.conf.Configured
class file for org.apache.hadoop.conf.Configured not found
public class FreeBSDResourceCalculator extends org.apache.hadoop.yarn.util.ResourceCalculatorPlugin {
[ERROR] /usr/home/admin/repos/hadoop-freebsd/src/main/java/com/filez/hadoop/oldutil/FreeBSDResourceCalculator.java:[6,29] package org.apache.hadoop.util does not exist

                
> Missing POM dependency for hadoop-yarn-common
> ---------------------------------------------
>
>                 Key: MAPREDUCE-4116
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4116
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>            Reporter: Radim Kolar
>
> hadoop-yarn-common is missing dependency on hadoop-common. some things like Configured from it are used. This dependency should be added to POM

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira