|
@@ -212,10 +212,11 @@ public class GenericOptionsParser {
|
|
|
*/
|
|
|
@SuppressWarnings("static-access")
|
|
|
private static synchronized Options buildGeneralOptions(Options opts) {
|
|
|
- Option fs = OptionBuilder.withArgName("local|namenode:port")
|
|
|
- .hasArg()
|
|
|
- .withDescription("specify a namenode")
|
|
|
- .create("fs");
|
|
|
+ Option fs = OptionBuilder.withArgName("file:///|hdfs://namenode:port")
|
|
|
+ .hasArg()
|
|
|
+ .withDescription("specify default filesystem URL to use, "
|
|
|
+ + "overrides 'fs.defaultFS' property from configurations.")
|
|
|
+ .create("fs");
|
|
|
Option jt = OptionBuilder.withArgName("local|resourcemanager:port")
|
|
|
.hasArg()
|
|
|
.withDescription("specify a ResourceManager")
|
|
@@ -569,8 +570,9 @@ public class GenericOptionsParser {
|
|
|
+ "specify an application configuration file");
|
|
|
out.println("-D <property=value> "
|
|
|
+ "define a value for a given property");
|
|
|
- out.println("-fs <local|namenode:port> "
|
|
|
- + "specify a namenode");
|
|
|
+ out.println("-fs <file:///|hdfs://namenode:port> "
|
|
|
+ + "specify default filesystem URL to use, overrides "
|
|
|
+ + "'fs.defaultFS' property from configurations.");
|
|
|
out.println("-jt <local|resourcemanager:port> "
|
|
|
+ "specify a ResourceManager");
|
|
|
out.println("-files <file1,...> "
|