HDFS-13837. Enable debug log for LeaseRenewer in TestDistributedFileSystem. Contributed by Shweta.
This commit is contained in:
parent
ac515d22d8
commit
33f42efc94
@ -100,12 +100,12 @@
|
|||||||
import org.apache.hadoop.util.DataChecksum;
|
import org.apache.hadoop.util.DataChecksum;
|
||||||
import org.apache.hadoop.util.Time;
|
import org.apache.hadoop.util.Time;
|
||||||
import org.apache.hadoop.util.concurrent.HadoopExecutors;
|
import org.apache.hadoop.util.concurrent.HadoopExecutors;
|
||||||
import org.apache.log4j.Level;
|
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.mockito.InOrder;
|
import org.mockito.InOrder;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.slf4j.event.Level;
|
||||||
|
|
||||||
public class TestDistributedFileSystem {
|
public class TestDistributedFileSystem {
|
||||||
private static final Random RAN = new Random();
|
private static final Random RAN = new Random();
|
||||||
@ -113,7 +113,8 @@ public class TestDistributedFileSystem {
|
|||||||
TestDistributedFileSystem.class);
|
TestDistributedFileSystem.class);
|
||||||
|
|
||||||
static {
|
static {
|
||||||
GenericTestUtils.setLogLevel(DFSClient.LOG, Level.ALL);
|
GenericTestUtils.setLogLevel(DFSClient.LOG, Level.TRACE);
|
||||||
|
GenericTestUtils.setLogLevel(LeaseRenewer.LOG, Level.DEBUG);
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean dualPortTesting = false;
|
private boolean dualPortTesting = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user