Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
When the cmd commond is null,the refreshRouterArgs command is not display ,because there is one missing value in the String[] commands
// if (cmd == null) { String[] commands = {"-add", "-update", "-rm", "-ls", "-getDestination", "-setQuota", "-clrQuota", "-safemode", "-nameservice", "-getDisabledNameservices", "-refresh"}; StringBuilder usage = new StringBuilder(); usage.append("Usage: hdfs dfsrouteradmin :\n"); for (int i = 0; i < commands.length; i++) { usage.append(getUsage(commands[i])); if (i + 1 < commands.length) { usage.append("\n"); } } .... }
Attachments
Attachments
Issue Links
- is related to
-
HDFS-13856 RBF: RouterAdmin should support dfsrouteradmin -refreshRouterArgs command
- Resolved