[ https://issues.apache.org/jira/browse/HDFS-8948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mingliang Liu updated HDFS-8948: -------------------------------- Attachment: HDFS-8948.000.patch The v0 patch uses the GenericTestUtils to set the log level. > Fix failing tests 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)