hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-2091) Map/Reduce Build Failing due to missing Smoke Tests
Date Fri, 24 Sep 2010 21:36:33 GMT

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

Konstantin Boudnik commented on MAPREDUCE-2091:
-----------------------------------------------

Are you able to compile trunk? I'm getting
{noformat}
compile-mapred-classes:
    [javac] Compiling 479 source files to /homes/cos/work/git/mapreduce/build/classes
    [javac] /homes/cos/work/git/mapreduce/src/java/org/apache/hadoop/mapred/TaskTracker.java:653:
non-static method refresh(org.apache.hadoop.conf.Configuration,org.apache.hadoop.security.authorize.PolicyProvider)
cannot be referenced from a static context
    [javac]       ServiceAuthorizationManager.refresh(fConf, policyProvider);
    [javac]                                  ^
    [javac] /homes/cos/work/git/mapreduce/src/java/org/apache/hadoop/mapred/JobTracker.java:1458:
non-static method refresh(org.apache.hadoop.conf.Configuration,org.apache.hadoop.security.authorize.PolicyProvider)
cannot be referenced from a static context
    [javac]       ServiceAuthorizationManager.refresh(conf, new MapReducePolicyProvider());
    [javac]                                  ^
    [javac] /homes/cos/work/git/mapreduce/src/java/org/apache/hadoop/mapred/JobTracker.java:4359:
non-static method refresh(org.apache.hadoop.conf.Configuration,org.apache.hadoop.security.authorize.PolicyProvider)
cannot be referenced from a static context
    [javac]     ServiceAuthorizationManager.refresh(conf, new MapReducePolicyProvider());
    [javac]                                ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 3 errors
{noformat}

> Map/Reduce Build Failing due to missing Smoke Tests
> ---------------------------------------------------
>
>                 Key: MAPREDUCE-2091
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2091
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.21.1, 0.22.0
>         Environment: SLES 10 SP2, SUN JRE 1.6
>            Reporter: Stephen Watt
>             Fix For: 0.21.1, 0.22.0
>
>
> The Compilation (the ANT clean and tar directives) of the Map/Reduce  Project works fine,
but the test-core directive fails because the smoke tests are missing. This is the tail of
the build log:
>     [junit] Running org.apache.hadoop.mapreduce.TestMapReduceLocal
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 57.962 sec
>     [junit] Running org.apache.hadoop.mapreduce.lib.input.TestFileInputFormat
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.839 sec
>     [junit] Running org.apache.hadoop.mapreduce.lib.output.TestFileOutputCommitter
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.866 sec
> checkfailure:
> run-smoke-test:
>    [delete] Deleting directory /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build/test/data
>     [mkdir] Created dir: /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build/test/data
>    [delete] Deleting directory /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build/test/logs
>     [mkdir] Created dir: /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build/test/logs
> BUILD FAILED
> /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build.xml:749: The following error
occurred while executing this line:
> /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/build.xml:658: Excludesfile /home/hadoop/Hadoop-Versions/hadoop-0.21.0/mapreduce/src/test/smoke-tests
not found.
> The fastest way to reproduce this error is to run : "ant run-test-mapred-excluding-commit-and-smoke"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message