Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DE0F1940C for ; Wed, 23 Mar 2016 16:03:26 +0000 (UTC) Received: (qmail 55565 invoked by uid 500); 23 Mar 2016 16:03:26 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 55378 invoked by uid 500); 23 Mar 2016 16:03:26 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 55202 invoked by uid 99); 23 Mar 2016 16:03:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2016 16:03:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DD3422C14F6 for ; Wed, 23 Mar 2016 16:03:25 +0000 (UTC) Date: Wed, 23 Mar 2016 16:03:25 +0000 (UTC) From: "Tibor Kiss (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10199) Unit tests TestCopyFiles, TestDistCh, TestLogalyzer under org.apache.hadoop.tools are failing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-10199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15208655#comment-15208655 ] Tibor Kiss commented on HDFS-10199: ----------------------------------- Thanks [~arpitagarwal], just renamed & uploaded the patch. > 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 > Assignee: Tibor Kiss > Priority: Minor > Fix For: 2.8.0 > > Attachments: HDFS-10199-branch-2.01.patch, HDFS-10199.01.patch > > > 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.(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.(TestSuite.java:132) > at org.junit.internal.runners.JUnit38ClassRunner.(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)