示例#1
0
 public virtual void Before()
 {
     BlockScanner.Conf.allowUnitTestSettings = true;
     GenericTestUtils.SetLogLevel(BlockScanner.Log, Level.All);
     GenericTestUtils.SetLogLevel(VolumeScanner.Log, Level.All);
     GenericTestUtils.SetLogLevel(FsVolumeImpl.Log, Level.All);
 }
示例#2
0
 public TestFileAppend2()
 {
     {
         DFSTestUtil.SetNameNodeLogLevel(Level.All);
         GenericTestUtils.SetLogLevel(DataNode.Log, Level.All);
         GenericTestUtils.SetLogLevel(DFSClient.Log, Level.All);
     }
 }
示例#3
0
 public TestFileAppend3()
 {
     {
         DFSTestUtil.SetNameNodeLogLevel(Level.All);
         GenericTestUtils.SetLogLevel(DataNode.Log, Level.All);
         GenericTestUtils.SetLogLevel(DFSClient.Log, Level.All);
         GenericTestUtils.SetLogLevel(InterDatanodeProtocol.Log, Level.All);
     }
 }
 static TestIncrementalBrVariations()
 {
     // DataNode at index0 in the MiniDFSCluster
     // DataNodeRegistration for dn0
     GenericTestUtils.SetLogLevel(NameNode.stateChangeLog, Level.All);
     GenericTestUtils.SetLogLevel(BlockManager.blockLog, Level.All);
     GenericTestUtils.SetLogLevel(NameNode.blockStateChangeLog, Level.All);
     GenericTestUtils.SetLogLevel(LogFactory.GetLog(typeof(FSNamesystem)), Level.All);
     GenericTestUtils.SetLogLevel(DataNode.Log, Level.All);
     GenericTestUtils.SetLogLevel(TestIncrementalBrVariations.Log, Level.All);
 }
示例#5
0
 public TestSymlinkHdfs()
 {
     {
         GenericTestUtils.SetLogLevel(NameNode.stateChangeLog, Level.All);
     }
 }
示例#6
0
 static TestHASafeMode()
 {
     DFSTestUtil.SetNameNodeLogLevel(Level.All);
     GenericTestUtils.SetLogLevel(FSImage.Log, Level.All);
 }
 private static void SetLogLevel()
 {
     ((Log4JLogger)Log).GetLogger().SetLevel(Level.All);
     GenericTestUtils.SetLogLevel(NamenodeWebHdfsMethods.Log, Level.All);
     DFSTestUtil.SetNameNodeLogLevel(Level.All);
 }
 public TestPendingInvalidateBlock()
 {
     {
         GenericTestUtils.SetLogLevel(BlockManager.Log, Level.Debug);
     }
 }
 static TestPipelinesFailover()
 {
     GenericTestUtils.SetLogLevel(LogFactory.GetLog(typeof(RetryInvocationHandler)), Level
                                  .All);
     DFSTestUtil.SetNameNodeLogLevel(Level.All);
 }
示例#10
0
 static LazyPersistTestCase()
 {
     DFSTestUtil.SetNameNodeLogLevel(Level.All);
     GenericTestUtils.SetLogLevel(FsDatasetImpl.Log, Level.All);
 }
示例#11
0
 private static void InitLoggers()
 {
     DFSTestUtil.SetNameNodeLogLevel(Level.All);
     GenericTestUtils.SetLogLevel(DataNode.Log, Level.All);
     GenericTestUtils.SetLogLevel(DFSClient.Log, Level.All);
 }
 static TestAppendSnapshotTruncate()
 {
     GenericTestUtils.SetLogLevel(NameNode.stateChangeLog, Level.All);
 }
示例#13
0
 static FileContextCreateMkdirBaseTest()
 {
     GenericTestUtils.SetLogLevel(FileSystem.Log, Level.Debug);
 }
示例#14
0
 private static void InitLoggers()
 {
     DFSTestUtil.SetNameNodeLogLevel(Level.All);
     GenericTestUtils.SetLogLevel(DataNode.Log, Level.All);
     GenericTestUtils.SetLogLevel(BlockReportTestBase.Log, Level.All);
 }