[ 
https://issues.apache.org/jira/browse/HDFS-13867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16592170#comment-16592170
 ] 

Brahma Reddy Battula commented on HDFS-13867:
---------------------------------------------

Instead of throwing the IAE,how about giving command usage itself..? i. e. 
printUsage(cmd);

If you all agree, this can be done along with HDFS-13861..?

> RBF: Add Validation for max arguments for Router admin ls, clrQuota, 
> setQuota, rm and nameservice commands
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-13867
>                 URL: https://issues.apache.org/jira/browse/HDFS-13867
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-13867-01.patch, HDFS-13867-02.patch
>
>
> Add validation to check if the total number of arguments provided for the 
> Router Admin commands are not more than max possible.In most cases if there 
> are some non related extra parameters after the required arguments it doesn't 
> validate against this but instead perform the action with the required 
> parameters and ignore the extra ones which shouldn't be in the ideal case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to