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 "Soumyapn (JIRA)" <ji...@apache.org> on 2018/08/23 08:45:00 UTC

[jira] [Created] (HDFS-13858) RBF: dfsrouteradmin safemode command is accepting any valid/invalid second argument. Add check to have single valid argument to safemode command

Soumyapn created HDFS-13858:
-------------------------------

             Summary: RBF: dfsrouteradmin safemode command is accepting any valid/invalid second argument. Add check to have single valid argument to safemode command
                 Key: HDFS-13858
                 URL: https://issues.apache.org/jira/browse/HDFS-13858
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: federation
            Reporter: Soumyapn


*Scenario:*

Current behaviour for the dfsrouteradmin command is: First argument should be valid one. What ever value we give as the second argument, the command is successfull.

 

*Examples:*

hdfs dfsrouteradmin -safemode enter leave

hdfs dfsrouteradmin -safemode leave enter

hdfs dfsrouteradmin -safemode get jashfuesfhsk

hdfs dfsrouteradmin -safemode leave leave

 

With the above examples, command is successfull for the first argument.

 

*Expected:*

Add check to have single valid argument to the safemode command

 

 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org