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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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-05.patch
          3 kB
          Ayush Saxena
        2. HDFS-13858-04.patch
          3 kB
          Ayush Saxena
        3. HDFS-13858-03.patch
          3 kB
          Ayush Saxena
        4. HDFS-13858-02.patch
          3 kB
          Ayush Saxena
        5. HDFS-13858-01.patch
          3 kB
          Ayush Saxena

        Issue Links

          Activity

            People

            • Assignee:
              ayushtkn Ayush Saxena
              Reporter:
              SoumyaPN Soumyapn

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment