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

haadmin command usage #HDFSHighAvailabilityWithQJM.html

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: documentation
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Currently it's given like following
      Usage: DFSHAAdmin [-ns <nameserviceId>]
      [-transitionToActive <serviceId>]
      [-transitionToStandby <serviceId>]
      [-failover [--forcefence] [--forceactive] <serviceId> <serviceId>]
      [-getServiceState <serviceId>]
      [-checkHealth <serviceId>]
      [-help <command>]

      Expected:

      hdfs hadmin

      1. HDFS-7804.patch
        1 kB
        Brahma Reddy Battula
      2. HDFS-7804-002.patch
        0.7 kB
        Brahma Reddy Battula
      3. HDFS-7804-003.patch
        1 kB
        Brahma Reddy Battula
      4. HDFS-7804-branch-2-002.patch
        0.7 kB
        Brahma Reddy Battula

        Issue Links

          Activity

          Hide
          ozawa Tsuyoshi Ozawa added a comment -

          Brahma Reddy Battula, this issue has been already fixed on HDFS-7668 about branch-2. We can mark this as resolved only for trunk. Thanks for your work. Also, thanks Uma for your review.

          Show
          ozawa Tsuyoshi Ozawa added a comment - Brahma Reddy Battula , this issue has been already fixed on HDFS-7668 about branch-2. We can mark this as resolved only for trunk. Thanks for your work. Also, thanks Uma for your review.
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Uma Maheswara Rao G Seems Fix is availble in branch-2 also, can you please check and close this one...?

          Show
          brahmareddy Brahma Reddy Battula added a comment - Uma Maheswara Rao G Seems Fix is availble in branch-2 also, can you please check and close this one...?
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #2060 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2060/)
          HDFS-7804. correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77)

          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2060 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2060/ ) HDFS-7804 . correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #110 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/110/)
          HDFS-7804. correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77)

          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #110 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/110/ ) HDFS-7804 . correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #100 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/100/)
          HDFS-7804. correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77)

          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #100 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/100/ ) HDFS-7804 . correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #2041 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2041/)
          HDFS-7804. correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77)

          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2041 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2041/ ) HDFS-7804 . correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #109 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/109/)
          HDFS-7804. correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #109 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/109/ ) HDFS-7804 . correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #843 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/843/)
          HDFS-7804. correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77)

          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #843 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/843/ ) HDFS-7804 . correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12699483/HDFS-7804-branch-2-002.patch
          against trunk revision 2ecea5a.

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9609//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12699483/HDFS-7804-branch-2-002.patch against trunk revision 2ecea5a. -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9609//console This message is automatically generated.
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Attached branch-2 patch...can you please check..?

          Show
          brahmareddy Brahma Reddy Battula added a comment - Attached branch-2 patch...can you please check..?
          Hide
          umamaheswararao Uma Maheswara Rao G added a comment -

          I have committed this to trunk. For branch-2, the change will be in apt format. So, we can not merge this directly. Can you please generate one for branch-2. Till then I will leave it as open.

          Show
          umamaheswararao Uma Maheswara Rao G added a comment - I have committed this to trunk. For branch-2, the change will be in apt format. So, we can not merge this directly. Can you please generate one for branch-2. Till then I will leave it as open.
          Hide
          hadoopqa Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12699460/HDFS-7804-003.patch
          against trunk revision 3f56a4c.

          +1 @author. The patch does not contain any @author tags.

          +0 tests included. The patch appears to be a documentation patch that doesn't require tests.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs.

          Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9608//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9608//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12699460/HDFS-7804-003.patch against trunk revision 3f56a4c. +1 @author . The patch does not contain any @author tags. +0 tests included . The patch appears to be a documentation patch that doesn't require tests. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9608//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9608//console This message is automatically generated.
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #7143 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7143/)
          HDFS-7804. correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7143 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7143/ ) HDFS-7804 . correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) (umamahesh: rev 2ecea5ab741f62e8fd0449251f2ea4a5759f4e77) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithQJM.md
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Thanks a lot for review, Attached patch after re-basing...

          Show
          brahmareddy Brahma Reddy Battula added a comment - Thanks a lot for review, Attached patch after re-basing...
          Hide
          umamaheswararao Uma Maheswara Rao G added a comment -

          +1 on changes. Do you mind re-basing the patch.

          Show
          umamaheswararao Uma Maheswara Rao G added a comment - +1 on changes. Do you mind re-basing the patch.
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12699110/HDFS-7804.patch
          against trunk revision 447bd7b.

          +1 @author. The patch does not contain any @author tags.

          +0 tests included. The patch appears to be a documentation patch that doesn't require tests.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs:

          org.apache.hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot
          org.apache.hadoop.hdfs.server.balancer.TestBalancerWithEncryptedTransfer
          org.apache.hadoop.hdfs.server.namenode.TestListCorruptFileBlocks

          Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9590//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9590//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12699110/HDFS-7804.patch against trunk revision 447bd7b. +1 @author . The patch does not contain any @author tags. +0 tests included . The patch appears to be a documentation patch that doesn't require tests. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. -1 core tests . The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot org.apache.hadoop.hdfs.server.balancer.TestBalancerWithEncryptedTransfer org.apache.hadoop.hdfs.server.namenode.TestListCorruptFileBlocks Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9590//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9590//console This message is automatically generated.
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12699141/HDFS-7804-002.patch
          against trunk revision 814afa4.

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9592//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12699141/HDFS-7804-002.patch against trunk revision 814afa4. -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9592//console This message is automatically generated.
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Hi Uma Maheswara Rao G

          Thanks a lot for taking look into this issue..

          why do we need to add hdfs also?

          As command will work with hdfs haadmin, I had given like that...But hdfs might not require here...thanks again for correcting

          Show
          brahmareddy Brahma Reddy Battula added a comment - Hi Uma Maheswara Rao G Thanks a lot for taking look into this issue.. why do we need to add hdfs also? As command will work with hdfs haadmin, I had given like that...But hdfs might not require here...thanks again for correcting
          Hide
          umamaheswararao Uma Maheswara Rao G added a comment -

          exact usage information will come like below

          "Usage: haadmin ........."

          why do we need to add hdfs also?

          Show
          umamaheswararao Uma Maheswara Rao G added a comment - exact usage information will come like below "Usage: haadmin ........." why do we need to add hdfs also?

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              brahmareddy Brahma Reddy Battula
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development