Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
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
Attachments
Attachments
Issue Links
- is related to
-
HDFS-13861 RBF: Illegal Router Admin command leads to printing usage for all commands
- Resolved