HDFS-9436. Make NNThroughputBenchmark$BlockReportStats run with 10 datanodes by default. Contributed by Mingliang.

(cherry picked from commit 3aa73a867a)
This commit is contained in:
Konstantin V Shvachko 2015-12-03 14:54:06 -08:00 committed by Wangda Tan
parent 15b3ff1971
commit 69d3a71f14
2 changed files with 6 additions and 1 deletions

View File

@ -921,6 +921,9 @@ Release 2.8.0 - UNRELEASED
HDFS-8335. FSNamesystem should construct FSPermissionChecker only if
permission is enabled. (Gabor Liptak via wheat9)
HDFS-9436. Make NNThroughputBenchmark$BlockReportStats run with 10
datanodes by default. (Mingliang Liu via shv)
BUG FIXES
HDFS-8091: ACLStatus and XAttributes should be presented to

View File

@ -1098,6 +1098,8 @@ public class NNThroughputBenchmark implements Tool {
BlockReportStats(List<String> args) {
super();
numThreads = 10;
numOpsRequired = 30;
this.blocksPerReport = 100;
this.blocksPerFile = 10;
// set heartbeat interval to 3 min, so that expiration were 40 min
@ -1258,7 +1260,7 @@ public class NNThroughputBenchmark implements Tool {
ReplicationStats(List<String> args) {
super();
numThreads = 1;
numDatanodes = 3;
numDatanodes = 10;
nodesToDecommission = 1;
nodeReplicationLimit = 100;
totalBlocks = 100;