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

Haohui Mai updated HDFS-8948:
-----------------------------
    Summary: Use GenericTestUtils to set log levels in TestPread and 
TestReplaceDatanodeOnFailure  (was: Fix failing tests in TestPread and 
TestReplaceDatanodeOnFailure)

> Use GenericTestUtils to set log levels in TestPread and 
> TestReplaceDatanodeOnFailure
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-8948
>                 URL: https://issues.apache.org/jira/browse/HDFS-8948
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>         Attachments: HDFS-8948.000.patch
>
>
> The two failing unit tests are {{java.lang.ClassCastException: 
> org.slf4j.impl.Log4jLoggerAdapter cannot be cast to 
> org.apache.commons.logging.impl.Log4JLogger}}. This is because of the logger 
> change from log4j to slf4j in ShortCircuitShm refactoring code.
> This jira tracks the effort of fixing the test failures. The goal is to make 
> the tests pass and to dump all the log information for debugging. 



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

Reply via email to