[ https://issues.apache.org/jira/browse/HDFS-17017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17724121#comment-17724121 ]
Viraj Jasani commented on HDFS-17017: ------------------------------------- anyways, in order to prevent any new argument for -report to get into similar case, what can we do? can we write a test that can parse all possible arguments for the given command ("-report" in this case) and pass them all and ensure that the output return code/exit code remains 0? > Fix the issue of arguments number limit in report command in DFSAdmin. > ---------------------------------------------------------------------- > > Key: HDFS-17017 > URL: https://issues.apache.org/jira/browse/HDFS-17017 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Haiyang Hu > Assignee: Haiyang Hu > Priority: Major > > Currently, the DFSAdmin report command should support a maximum number of > arguments of 7, such as : > hdfs dfsadmin [-report] [-live] [-dead] [-decommissioning] > [-enteringmaintenance] [-inmaintenance] [-slownodes] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org