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

This commit is contained in:
Konstantin V Shvachko 2015-12-03 14:54:06 -08:00
parent 51e448d295
commit 3aa73a867a
2 changed files with 6 additions and 1 deletions

View File

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

View File

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