HDFS-10199. Unit tests TestCopyFiles, TestDistCh, TestLogalyzer under org.apache.hadoop.tools are failing. Contributed by Tibor Kiss.
(cherry picked from commit 57a0e6543c
)
This commit is contained in:
parent
4ca13e7b98
commit
f3e4dac87d
|
@ -60,7 +60,7 @@ public class TestCopyFiles extends TestCase {
|
|||
{
|
||||
((Log4JLogger)LogFactory.getLog("org.apache.hadoop.hdfs.StateChange")
|
||||
).getLogger().setLevel(Level.ERROR);
|
||||
((Log4JLogger)DataNode.LOG).getLogger().setLevel(Level.ERROR);
|
||||
((Log4JLogger)LogFactory.getLog(DataNode.class)).getLogger().setLevel(Level.ERROR);
|
||||
((Log4JLogger)LogFactory.getLog(FSNamesystem.class)).getLogger().setLevel(Level.ERROR);
|
||||
((Log4JLogger)DistCpV1.LOG).getLogger().setLevel(Level.ALL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue