static TestBalancerWithNodeGroup()
 {
     //msec
     // 0.5%
     // 10%+delta
     TestBalancer.InitTestSetup();
 }
Exemplo n.º 2
0
 static TestStorageMover()
 {
     DefaultConf.SetLong(DFSConfigKeys.DfsBlockSizeKey, BlockSize);
     DefaultConf.SetLong(DFSConfigKeys.DfsHeartbeatIntervalKey, 1L);
     DefaultConf.SetLong(DFSConfigKeys.DfsNamenodeReplicationIntervalKey, 2L);
     DefaultConf.SetLong(DFSConfigKeys.DfsMoverMovedwinwidthKey, 2000L);
     DefaultPolicies = BlockStoragePolicySuite.CreateDefaultSuite();
     Hot             = DefaultPolicies.GetPolicy(HdfsConstants.HotStoragePolicyName);
     Warm            = DefaultPolicies.GetPolicy(HdfsConstants.WarmStoragePolicyName);
     Cold            = DefaultPolicies.GetPolicy(HdfsConstants.ColdStoragePolicyName);
     TestBalancer.InitTestSetup();
     Dispatcher.SetDelayAfterErrors(1000L);
 }
 static TestFsckWithMultipleNameNodes()
 {
     TestBalancer.InitTestSetup();
 }
Exemplo n.º 4
0
 static TestBalancerWithHANameNodes()
 {
     TestBalancer.InitTestSetup();
 }