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

Ranith Sardar commented on HDFS-13866:
--------------------------------------

As discussed in HDFS-13815, we should reset exitcode -1 when we gives invalid 
params. Will handle rest of the commands here.

In this solution, When 'If' conditions become false, it would entry to else 
part and make exitcode value -1.

> Reset exitcode to -1 when invalid params are inputed for dfsrouteradmin 
> commands
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-13866
>                 URL: https://issues.apache.org/jira/browse/HDFS-13866
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: federation
>    Affects Versions: 3.0.0
>            Reporter: Ranith Sardar
>            Priority: Major
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to