Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13858

RBF: Add check to have single valid argument to safemode command

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.1.2
    • Component/s: federation
    • Labels:
    • Hadoop Flags:
      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

        1. HDFS-13858-01.patch
          3 kB
          Ayush Saxena
        2. HDFS-13858-02.patch
          3 kB
          Ayush Saxena
        3. HDFS-13858-03.patch
          3 kB
          Ayush Saxena
        4. HDFS-13858-04.patch
          3 kB
          Ayush Saxena
        5. HDFS-13858-05.patch
          3 kB
          Ayush Saxena

          Issue Links

            Activity

              People

              • Assignee:
                ayushtkn Ayush Saxena
                Reporter:
                SoumyaPN Soumyapn
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: