9696import org .apache .hadoop .hbase .io .hfile .ChecksumUtil ;
9797import org .apache .hadoop .hbase .io .hfile .HFile ;
9898import org .apache .hadoop .hbase .ipc .RpcServerInterface ;
99- import org .apache .hadoop .hbase .logging .Log4jUtils ;
10099import org .apache .hadoop .hbase .mapreduce .MapreduceTestingShim ;
101100import org .apache .hadoop .hbase .master .HMaster ;
102101import org .apache .hadoop .hbase .master .RegionState ;
@@ -631,10 +630,6 @@ public MiniDFSCluster startMiniDFSCluster(int servers, final String[] racks, Str
631630 createDirsAndSetProperties ();
632631 EditLogFileOutputStream .setShouldSkipFsyncForTesting (true );
633632
634- // Error level to skip some warnings specific to the minicluster. See HBASE-4709
635- Log4jUtils .setLogLevel (org .apache .hadoop .metrics2 .util .MBeans .class .getName (), "ERROR" );
636- Log4jUtils .setLogLevel (org .apache .hadoop .metrics2 .impl .MetricsSystemImpl .class .getName (),
637- "ERROR" );
638633 this .dfsCluster =
639634 new MiniDFSCluster (0 , this .conf , servers , true , true , true , null , racks , hosts , null );
640635 this .dfsClusterFixer = new FsDatasetAsyncDiskServiceFixer (dfsCluster );
@@ -656,10 +651,6 @@ public MiniDFSCluster startMiniDFSCluster(int servers, final String[] racks, Str
656651
657652 public MiniDFSCluster startMiniDFSClusterForTestWAL (int namenodePort ) throws IOException {
658653 createDirsAndSetProperties ();
659- // Error level to skip some warnings specific to the minicluster. See HBASE-4709
660- Log4jUtils .setLogLevel (org .apache .hadoop .metrics2 .util .MBeans .class .getName (), "ERROR" );
661- Log4jUtils .setLogLevel (org .apache .hadoop .metrics2 .impl .MetricsSystemImpl .class .getName (),
662- "ERROR" );
663654 dfsCluster =
664655 new MiniDFSCluster (namenodePort , conf , 5 , false , true , true , null , null , null , null );
665656 this .dfsClusterFixer = new FsDatasetAsyncDiskServiceFixer (dfsCluster );
@@ -884,9 +875,6 @@ public SingleProcessHBaseCluster startMiniHBaseCluster(StartTestingClusterOption
884875 conf .setInt (ServerManager .WAIT_ON_REGIONSERVERS_MAXTOSTART , option .getNumRegionServers ());
885876 }
886877
887- // Avoid log flooded with chore execution time, see HBASE-24646 for more details.
888- Log4jUtils .setLogLevel (org .apache .hadoop .hbase .ScheduledChore .class .getName (), "INFO" );
889-
890878 Configuration c = new Configuration (this .conf );
891879 this .hbaseCluster = new SingleProcessHBaseCluster (c , option .getNumMasters (),
892880 option .getNumAlwaysStandByMasters (), option .getNumRegionServers (), option .getRsPorts (),
0 commit comments