hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grace <syso...@gmail.com>
Subject Several Unit-test failures in Hadoop 1.0.0 release version
Date Sat, 11 Feb 2012 10:11:19 GMT
Hi all,

 Met with several failures when running 'ant test' under hadoop-1.0.0
version from apache web site. does any one have the similar problems? I did
not get any related information from the google. Is there anything or
configuration I missing?

here is the failure list:

    [junit] Running org.apache.hadoop.mapred.TestTTResourceReporting
    [junit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 179.124 sec


    [junit] Running org.apache.hadoop.metrics2.impl.TestGangliaMetrics
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.14 sec


    [junit] Running org.apache.hadoop.metrics2.impl.TestSinkQueue
    [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 0.291 sec


    [junit] Running org.apache.hadoop.tools.rumen.TestRumenJobTraces
    [junit] Tests run: 9, Failures: 0, Errors: 1, Time elapsed: 41.904 sec


    [junit] Running org.apache.hadoop.streaming.TestUlimit
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 84.974 sec

    -------------
    Detailed exceptions for each of them for your reference
    -------------
    TEST-org.apache.hadoop.mapred.TestTTResourceReporting.txt
    {{{
    Testcase: testConfiguredResourceValues took 103.764 sec
        Caused an ERROR
Job failed!
java.io.IOException: Job failed!
        at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1265)
        at org.apache.hadoop.examples.SleepJob.run(SleepJob.java:174)
        at org.apache.hadoop.examples.SleepJob.run(SleepJob.java:237)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at
org.apache.hadoop.mapred.TestTTResourceReporting.runSleepJob(TestTTResourceReporting.java:342)
        at
org.apache.hadoop.mapred.TestTTResourceReporting.testConfiguredResourceValues(TestTTResourceReporting.java:296)

Testcase: testResourceValuesOnLinux took 37.521 sec

    }}}

    TEST-org.apache.hadoop.metrics2.impl.TestGangliaMetrics
    {{{
    Testcase: testGangliaMetrics2 took 0.128 sec
        FAILED
Missing metrics: test.s1rec.c1
junit.framework.AssertionFailedError: Missing metrics: test.s1rec.c1
        at
org.apache.hadoop.metrics2.impl.TestGangliaMetrics.checkMetrics(TestGangliaMetrics.java:98)
        at
org.apache.hadoop.metrics2.impl.TestGangliaMetrics.testGangliaMetrics2(TestGangliaMetrics.java:77)

    }}}

    TEST-org.apache.hadoop.metrics2.impl.TestSinkQueue.txt:
    {{{
    Testcase: testConcurrentConsumers took 0.003 sec
        FAILED
should've thrown
junit.framework.AssertionFailedError: should've thrown
        at
org.apache.hadoop.metrics2.impl.TestSinkQueue.shouldThrowCME(TestSinkQueue.java:229)
        at
org.apache.hadoop.metrics2.impl.TestSinkQueue.testConcurrentConsumers(TestSinkQueue.java:195)
    }}}

    TEST-org.apache.hadoop.tools.rumen.TestRumenJobTraces.txt
    {{{
    Can not create a Path from a null string
java.lang.IllegalArgumentException: Can not create a Path from a null string
        at org.apache.hadoop.fs.Path.checkPathArg(Path.java:78)
        at org.apache.hadoop.fs.Path.<init>(Path.java:90)
        at
org.apache.hadoop.tools.rumen.TestRumenJobTraces.testCurrentJHParser(TestRumenJobTraces.java:405)

    }}}

Could anyone help with this problem? thank you for your time and helps.

-Grace

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message