HDFS-9387. Fix namenodeUri parameter parsing in NNThroughputBenchmark. Contributed by Mingliang Liu.
This commit is contained in:
parent
02653add98
commit
2701f2d255
|
@ -2305,6 +2305,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HDFS-9413. getContentSummary() on standby should throw StandbyException.
|
HDFS-9413. getContentSummary() on standby should throw StandbyException.
|
||||||
(Brahma Reddy Battula via mingma)
|
(Brahma Reddy Battula via mingma)
|
||||||
|
|
||||||
|
HDFS-9387. Fix namenodeUri parameter parsing in NNThroughputBenchmark.
|
||||||
|
(Mingliang Liu via xyao)
|
||||||
|
|
||||||
Release 2.7.3 - UNRELEASED
|
Release 2.7.3 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -382,11 +382,13 @@ public class NNThroughputBenchmark implements Tool {
|
||||||
args.remove(ugrcIndex);
|
args.remove(ugrcIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (args.indexOf("-namenode") >= 0) {
|
||||||
try {
|
try {
|
||||||
namenodeUri = StringUtils.popOptionWithArgument("-namenode", args);
|
namenodeUri = StringUtils.popOptionWithArgument("-namenode", args);
|
||||||
} catch (IllegalArgumentException iae) {
|
} catch (IllegalArgumentException iae) {
|
||||||
printUsage();
|
printUsage();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
String type = args.get(1);
|
String type = args.get(1);
|
||||||
if(OP_ALL_NAME.equals(type)) {
|
if(OP_ALL_NAME.equals(type)) {
|
||||||
|
|
Loading…
Reference in New Issue