@@ -682,11 +682,6 @@ public MiniDFSCluster startMiniDFSCluster(int servers, final String racks[], Str
682682 createDirsAndSetProperties ();
683683 EditLogFileOutputStream .setShouldSkipFsyncForTesting (true );
684684
685- // Error level to skip some warnings specific to the minicluster. See HBASE-4709
686- Log4jUtils .setLogLevel (org .apache .hadoop .metrics2 .util .MBeans .class .getName (), "ERROR" );
687- Log4jUtils .setLogLevel (org .apache .hadoop .metrics2 .impl .MetricsSystemImpl .class .getName (),
688- "ERROR" );
689-
690685 this .dfsCluster =
691686 new MiniDFSCluster (0 , this .conf , servers , true , true , true , null , racks , hosts , null );
692687 this .dfsClusterFixer = new FsDatasetAsyncDiskServiceFixer (dfsCluster );
@@ -708,10 +703,6 @@ public MiniDFSCluster startMiniDFSCluster(int servers, final String racks[], Str
708703
709704 public MiniDFSCluster startMiniDFSClusterForTestWAL (int namenodePort ) throws IOException {
710705 createDirsAndSetProperties ();
711- // Error level to skip some warnings specific to the minicluster. See HBASE-4709
712- Log4jUtils .setLogLevel (org .apache .hadoop .metrics2 .util .MBeans .class .getName (), "ERROR" );
713- Log4jUtils .setLogLevel (org .apache .hadoop .metrics2 .impl .MetricsSystemImpl .class .getName (),
714- "ERROR" );
715706 dfsCluster =
716707 new MiniDFSCluster (namenodePort , conf , 5 , false , true , true , null , null , null , null );
717708 this .dfsClusterFixer = new FsDatasetAsyncDiskServiceFixer (dfsCluster );
@@ -1184,9 +1175,6 @@ public MiniHBaseCluster startMiniHBaseCluster(StartMiniClusterOption option)
11841175 conf .setInt (ServerManager .WAIT_ON_REGIONSERVERS_MAXTOSTART , option .getNumRegionServers ());
11851176 }
11861177
1187- // Avoid log flooded with chore execution time, see HBASE-24646 for more details.
1188- Log4jUtils .setLogLevel (org .apache .hadoop .hbase .ScheduledChore .class .getName (), "INFO" );
1189-
11901178 Configuration c = new Configuration (this .conf );
11911179 this .hbaseCluster = new MiniHBaseCluster (c , option .getNumMasters (),
11921180 option .getNumAlwaysStandByMasters (), option .getNumRegionServers (), option .getRsPorts (),
0 commit comments