You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "wangzhaohui (JIRA)" <ji...@apache.org> on 2019/08/09 10:42:00 UTC
[jira] [Created] (HDFS-14713) RBF: routeradmin support
refreshRouterArgs command but it not on display
wangzhaohui created HDFS-14713:
----------------------------------
Summary: RBF: routeradmin support refreshRouterArgs command but it not on display
Key: HDFS-14713
URL: https://issues.apache.org/jira/browse/HDFS-14713
Project: Hadoop HDFS
Issue Type: Sub-task
Reporter: wangzhaohui
Assignee: wangzhaohui
When the cmd commond is null,the refreshRouterArgs command is not display ,because there is one missing value in the String[] commands
{code:java}
//
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");
}
}
....
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org