Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5757

RM REST API documentation is not up to date

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.7.3, 3.0.0-alpha1
    • Fix Version/s: 2.9.0, 3.0.0-alpha2
    • Component/s: resourcemanager, yarn
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      For an example please refer to this field that does not exist since YARN-686:
      healthStatus string The health status of the node - Healthy or Unhealthy

      1. YARN-5757.000.patch
        37 kB
        Miklos Szegedi
      2. YARN-5757.001.patch
        37 kB
        Varun Saxena

        Issue Links

          Activity

          Hide
          miklos.szegedi@cloudera.com Miklos Szegedi added a comment -

          Update the documentation to reflect the current state of the REST API

          Show
          miklos.szegedi@cloudera.com Miklos Szegedi added a comment - Update the documentation to reflect the current state of the REST API
          Hide
          gsohn Grant Sohn added a comment -

          Can you add the version and components fields to the JIRA?

          Thanks.

          Show
          gsohn Grant Sohn added a comment - Can you add the version and components fields to the JIRA? Thanks.
          Hide
          hadoopqa Hadoop QA added a comment -
          +1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 12s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          0 mvndep 0m 13s Maven dependency ordering for branch
          +1 mvninstall 6m 36s trunk passed
          +1 mvnsite 0m 34s trunk passed
          0 mvndep 0m 14s Maven dependency ordering for patch
          +1 mvnsite 0m 29s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 asflicense 0m 14s The patch does not generate ASF License warnings.
          8m 47s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:9560f25
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12834551/YARN-5757.000.patch
          JIRA Issue YARN-5757
          Optional Tests asflicense mvnsite
          uname Linux d6f706506cc6 3.13.0-93-generic #140-Ubuntu SMP Mon Jul 18 21:21:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 262827c
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs U: .
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/13458/console
          Powered by Apache Yetus 0.3.0 http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 12s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. 0 mvndep 0m 13s Maven dependency ordering for branch +1 mvninstall 6m 36s trunk passed +1 mvnsite 0m 34s trunk passed 0 mvndep 0m 14s Maven dependency ordering for patch +1 mvnsite 0m 29s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 asflicense 0m 14s The patch does not generate ASF License warnings. 8m 47s Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12834551/YARN-5757.000.patch JIRA Issue YARN-5757 Optional Tests asflicense mvnsite uname Linux d6f706506cc6 3.13.0-93-generic #140-Ubuntu SMP Mon Jul 18 21:21:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 262827c modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs U: . Console output https://builds.apache.org/job/PreCommit-YARN-Build/13458/console Powered by Apache Yetus 0.3.0 http://yetus.apache.org This message was automatically generated.
          Hide
          miklos.szegedi@cloudera.com Miklos Szegedi added a comment -

          Grant Sohn, I added the requested fields. Let me know, if you need anything else.

          Show
          miklos.szegedi@cloudera.com Miklos Szegedi added a comment - Grant Sohn , I added the requested fields. Let me know, if you need anything else.
          Hide
          varun_saxena Varun Saxena added a comment -

          resourceUtilization object's fields should be captured separately.
          +1 otherwise. Will update a new patch with the changes.

          Show
          varun_saxena Varun Saxena added a comment - resourceUtilization object's fields should be captured separately. +1 otherwise. Will update a new patch with the changes.
          Hide
          hadoopqa Hadoop QA added a comment -
          +1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 15s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          0 mvndep 0m 15s Maven dependency ordering for branch
          +1 mvninstall 7m 9s trunk passed
          +1 mvnsite 0m 38s trunk passed
          0 mvndep 0m 15s Maven dependency ordering for patch
          +1 mvnsite 0m 31s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 asflicense 0m 15s The patch does not generate ASF License warnings.
          9m 37s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:9560f25
          JIRA Issue YARN-5757
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12835536/YARN-5757.001.patch
          Optional Tests asflicense mvnsite
          uname Linux a299beafbad9 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 77f2684
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs U: .
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/13548/console
          Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 15s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. 0 mvndep 0m 15s Maven dependency ordering for branch +1 mvninstall 7m 9s trunk passed +1 mvnsite 0m 38s trunk passed 0 mvndep 0m 15s Maven dependency ordering for patch +1 mvnsite 0m 31s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 asflicense 0m 15s The patch does not generate ASF License warnings. 9m 37s Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Issue YARN-5757 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12835536/YARN-5757.001.patch Optional Tests asflicense mvnsite uname Linux a299beafbad9 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 77f2684 modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs U: . Console output https://builds.apache.org/job/PreCommit-YARN-Build/13548/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          varun_saxena Varun Saxena added a comment -

          LGTM.
          Will commit it shortly.

          Some of the REST APIs' related to node labels and scheduler activities are not documented. But that can be taken care in another JIRA.

          Show
          varun_saxena Varun Saxena added a comment - LGTM. Will commit it shortly. Some of the REST APIs' related to node labels and scheduler activities are not documented. But that can be taken care in another JIRA.
          Hide
          varun_saxena Varun Saxena added a comment -

          Raised YARN-5786

          Show
          varun_saxena Varun Saxena added a comment - Raised YARN-5786
          Hide
          varun_saxena Varun Saxena added a comment -

          Committed to trunk, branch-2.
          Thanks Miklos Szegedi for your contribution.

          Show
          varun_saxena Varun Saxena added a comment - Committed to trunk, branch-2. Thanks Miklos Szegedi for your contribution.
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #10702 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10702/)
          YARN-5757. RM REST API documentation is not up to date (Miklos Szegedi (varunsaxena: rev 8bd6d77a416dd15172f4539cb9249203507172c1)

          • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeManagerRest.md
          • (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/site/markdown/HistoryServerRest.md
          • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #10702 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10702/ ) YARN-5757 . RM REST API documentation is not up to date (Miklos Szegedi (varunsaxena: rev 8bd6d77a416dd15172f4539cb9249203507172c1) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeManagerRest.md (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/site/markdown/HistoryServerRest.md (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md

            People

            • Assignee:
              miklos.szegedi@cloudera.com Miklos Szegedi
              Reporter:
              miklos.szegedi@cloudera.com Miklos Szegedi
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development