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 "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org> on 2011/12/14 15:51:30 UTC

[jira] [Updated] (MAPREDUCE-3557) MR1 test fail to compile because of missing hadoop-archives dependency

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

Alejandro Abdelnur updated MAPREDUCE-3557:
------------------------------------------

    Attachment: MAPREDUCE-3557.patch

patch fixes the not found HadoopArchives compilation issue.

However, there is another failure coming up that is not related at all to the HAR stuff shuffling

{code}
compile-mapred-test:
    [javac] /Users/tucu/src/apache/hadoop/git/hadoop-mapreduce-project/build.xml:603: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 304 source files to /Users/tucu/src/apache/hadoop/git/hadoop-mapreduce-project/build/test/mapred/classes
    [javac] /Users/tucu/src/apache/hadoop/git/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobQueueClient.java:80: printJobQueueInfo(org.apache.hadoop.mapred.JobQueueInfo,java.io.Writer,java.lang.String) in org.apache.hadoop.mapred.JobQueueClient cannot be applied to (org.apache.hadoop.mapred.JobQueueInfo,java.io.StringWriter)
    [javac]     client.printJobQueueInfo(root, writer);
    [javac]           ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error

BUILD FAILED
{code}

If we really need to run this target, then this patch should be committed and another JIRA should be open for the above failure.

If we don't need to run this target, this JIRA should be closed as invalid and the Jenkins job  for trunk should be fixed to avoid such target
                
> MR1 test fail to compile because of missing hadoop-archives dependency
> ----------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3557
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3557
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1, 0.24.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 0.23.1, 0.24.0
>
>         Attachments: MAPREDUCE-3557.patch
>
>
> MAPREDUCE-3544 added hadoop-archives as dependency to gridmix and raid, but missed to add it to the main ivy.xml for the MR1 testcases thus the ant target 'compile-mapred-test' fails.
> I was under the impression that this stuff was not used anymore but trunk is failing on that target.

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