[
https://issues.apache.org/jira/browse/HDFS-8948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haohui Mai updated HDFS-8948:
-----------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 2.8.0
Status: Resolved (was: Patch Available)
I've committed the patch to trunk and branch-2. Thanks [~liuml07] for the
contribution.
> 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
> Fix For: 2.8.0
>
> 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)