hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Kiss (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10199) Unit tests TestCopyFiles, TestDistCh, TestLogalyzer under org.apache.hadoop.tools are failing
Date Wed, 23 Mar 2016 13:47:25 GMT
Tibor Kiss created HDFS-10199:
---------------------------------

             Summary: Unit tests TestCopyFiles, TestDistCh, TestLogalyzer under org.apache.hadoop.tools
are failing
                 Key: HDFS-10199
                 URL: https://issues.apache.org/jira/browse/HDFS-10199
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.8.0
            Reporter: Tibor Kiss
            Priority: Minor
             Fix For: 2.8.0


Due to logging changes introduced in HDFS-9402 the TestCopyFiles, TestDistCh, TestLogalyzer
are
failing due to ClassCastException thrown from org.apache.hadoop.tools.TestCopyFiles' constructor.

Error message:
{noformat}
Running org.apache.hadoop.tools.TestLogalyzer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.213 sec - in org.apache.hadoop.tools.TestLogalyzer

Results :

Failed tests:
  TestSuite$1.warning Exception in constructor: testDeleteLocal (java.lang.ClassCastException:
org.slf4j.impl.Log4jLoggerAdapter cannot be cast to org.apache.commons.logging.impl.Log4JLogger
        at org.apache.hadoop.tools.TestCopyFiles.<init>(TestCopyFiles.java:63)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at junit.framework.TestSuite.createTest(TestSuite.java:63)
        at junit.framework.TestSuite.addTestMethod(TestSuite.java:310)
        at junit.framework.TestSuite.addTestsFromTestCase(TestSuite.java:153)
        at junit.framework.TestSuite.<init>(TestSuite.java:132)
        at org.junit.internal.runners.JUnit38ClassRunner.<init>(JUnit38ClassRunner.java:72)
        at org.junit.internal.builders.JUnit3Builder.runnerForClass(JUnit3Builder.java:11)
        at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
        at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
        at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
        at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:262)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
)
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message