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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.2
    • federation
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment