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

Incorrect query parameters in cluster nodes REST API document

    Details

      Description

      Recently we use cluster nodes REST API and found the query parameters(state and healthy) in document both are not exist.
      Now the query paramters in document is:

        * state - the state of the node
        * healthy - true or false 
      

      The correct query parameters should be:

        * states - the states of the node, specified as a comma-separated list.
      
      1. YARN-7525.001.patch
        0.7 kB
        Tao Yang
      2. YARN-7525.002.patch
        1 kB
        Tao Yang
      3. YARN-7525-branch-2.001.patch
        1 kB
        Tao Yang
      4. YARN-7525-branch-2.8.001.patch
        1 kB
        Tao Yang

        Activity

        Hide
        bibinchundatt Bibin A Chundatt added a comment -

        Committed to trunk,branch-3,branch-2,branch-2.9,branch-2.8

        Show
        bibinchundatt Bibin A Chundatt added a comment - Committed to trunk,branch-3,branch-2,branch-2.9,branch-2.8
        Hide
        hadoopqa Hadoop QA added a comment -
        +1 overall



        Vote Subsystem Runtime Comment
        0 reexec 24m 40s Docker mode activated.
              Prechecks
        +1 @author 0m 0s The patch does not contain any @author tags.
              branch-2 Compile Tests
        +1 mvninstall 9m 23s branch-2 passed
        +1 mvnsite 0m 19s branch-2 passed
              Patch Compile Tests
        +1 mvnsite 0m 18s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
              Other Tests
        +1 asflicense 0m 23s The patch does not generate ASF License warnings.
        35m 34s



        Subsystem Report/Notes
        Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:17213a0
        JIRA Issue YARN-7525
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12898434/YARN-7525-branch-2.001.patch
        Optional Tests asflicense mvnsite
        uname Linux 363f40b11140 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/patchprocess/precommit/personality/provided.sh
        git revision branch-2 / b57ea38
        maven version: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
        Max. process+thread count 75 (vs. ulimit of 5000)
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/18574/console
        Powered by Apache Yetus 0.7.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 24m 40s Docker mode activated.       Prechecks +1 @author 0m 0s The patch does not contain any @author tags.       branch-2 Compile Tests +1 mvninstall 9m 23s branch-2 passed +1 mvnsite 0m 19s branch-2 passed       Patch Compile Tests +1 mvnsite 0m 18s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues.       Other Tests +1 asflicense 0m 23s The patch does not generate ASF License warnings. 35m 34s Subsystem Report/Notes Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:17213a0 JIRA Issue YARN-7525 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12898434/YARN-7525-branch-2.001.patch Optional Tests asflicense mvnsite uname Linux 363f40b11140 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/patchprocess/precommit/personality/provided.sh git revision branch-2 / b57ea38 maven version: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00) Max. process+thread count 75 (vs. ulimit of 5000) modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site Console output https://builds.apache.org/job/PreCommit-YARN-Build/18574/console Powered by Apache Yetus 0.7.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        Tao Yang Tao Yang added a comment -

        Attaching patches for branch-2 and branch-2.8.
        Thanks Wangda Tan and Bibin A Chundatt for review and commit.

        Show
        Tao Yang Tao Yang added a comment - Attaching patches for branch-2 and branch-2.8. Thanks Wangda Tan and Bibin A Chundatt for review and commit.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13256 (See https://builds.apache.org/job/Hadoop-trunk-Commit/13256/)
        YARN-7525. Incorrect query parameters in cluster nodes REST API (bibinchundatt: rev 96e6a993609d170b4d2c70b2dba8b4530093606f)

        • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13256 (See https://builds.apache.org/job/Hadoop-trunk-Commit/13256/ ) YARN-7525 . Incorrect query parameters in cluster nodes REST API (bibinchundatt: rev 96e6a993609d170b4d2c70b2dba8b4530093606f) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md
        Hide
        bibinchundatt Bibin A Chundatt added a comment -

        Committed to trunk and branch-3.0. Tao Yang Could you provide patch for 2.8 and 2.9 too

        Show
        bibinchundatt Bibin A Chundatt added a comment - Committed to trunk and branch-3.0. Tao Yang Could you provide patch for 2.8 and 2.9 too
        Hide
        leftnoteasy Wangda Tan added a comment -

        Thanks Tao Yang, patch looks good. Bibin A Chundatt, please proceed with patch commit whenever you think it is ready.

        Show
        leftnoteasy Wangda Tan added a comment - Thanks Tao Yang , patch looks good. Bibin A Chundatt , please proceed with patch commit whenever you think it is ready.
        Hide
        hadoopqa Hadoop QA added a comment -
        +1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 18s Docker mode activated.
              Prechecks
        +1 @author 0m 0s The patch does not contain any @author tags.
              trunk Compile Tests
        +1 mvninstall 14m 34s trunk passed
        +1 mvnsite 0m 15s trunk passed
        +1 shadedclient 23m 21s branch has no errors when building and testing our client artifacts.
              Patch Compile Tests
        +1 mvnsite 0m 11s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 shadedclient 9m 46s patch has no errors when building and testing our client artifacts.
              Other Tests
        +1 asflicense 0m 20s The patch does not generate ASF License warnings.
        34m 15s



        Subsystem Report/Notes
        Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:5b98639
        JIRA Issue YARN-7525
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12898157/YARN-7525.002.patch
        Optional Tests asflicense mvnsite
        uname Linux b4152ae0a0cb 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/patchprocess/precommit/personality/provided.sh
        git revision trunk / 5f0b238
        maven version: Apache Maven 3.3.9
        Max. process+thread count 403 (vs. ulimit of 5000)
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/18551/console
        Powered by Apache Yetus 0.7.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 18s Docker mode activated.       Prechecks +1 @author 0m 0s The patch does not contain any @author tags.       trunk Compile Tests +1 mvninstall 14m 34s trunk passed +1 mvnsite 0m 15s trunk passed +1 shadedclient 23m 21s branch has no errors when building and testing our client artifacts.       Patch Compile Tests +1 mvnsite 0m 11s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 shadedclient 9m 46s patch has no errors when building and testing our client artifacts.       Other Tests +1 asflicense 0m 20s The patch does not generate ASF License warnings. 34m 15s Subsystem Report/Notes Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:5b98639 JIRA Issue YARN-7525 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12898157/YARN-7525.002.patch Optional Tests asflicense mvnsite uname Linux b4152ae0a0cb 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/patchprocess/precommit/personality/provided.sh git revision trunk / 5f0b238 maven version: Apache Maven 3.3.9 Max. process+thread count 403 (vs. ulimit of 5000) modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site Console output https://builds.apache.org/job/PreCommit-YARN-Build/18551/console Powered by Apache Yetus 0.7.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        Tao Yang Tao Yang added a comment -

        Thanks Bibin A Chundatt for your review and suggestion.
        Yes, it's good to add the supported states and I noticed the state description of Cluster Node API did but not complete (without SHUTDOWN).
        Attaching v2 patch to update both. Please help to review again.

        Show
        Tao Yang Tao Yang added a comment - Thanks Bibin A Chundatt for your review and suggestion. Yes, it's good to add the supported states and I noticed the state description of Cluster Node API did but not complete (without SHUTDOWN). Attaching v2 patch to update both. Please help to review again.
        Hide
        bibinchundatt Bibin A Chundatt added a comment -

        Thank you Tao Yang for patch.
        Yes. param supported is only states. In addition to correction done , will be good to mention the supported states too .

        Show
        bibinchundatt Bibin A Chundatt added a comment - Thank you Tao Yang for patch. Yes. param supported is only states . In addition to correction done , will be good to mention the supported states too .
        Hide
        hadoopqa Hadoop QA added a comment -
        +1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 29s Docker mode activated.
              Prechecks
        +1 @author 0m 0s The patch does not contain any @author tags.
              trunk Compile Tests
        +1 mvninstall 15m 7s trunk passed
        +1 mvnsite 0m 16s trunk passed
        +1 shadedclient 23m 44s branch has no errors when building and testing our client artifacts.
              Patch Compile Tests
        +1 mvnsite 0m 11s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 shadedclient 9m 36s patch has no errors when building and testing our client artifacts.
              Other Tests
        +1 asflicense 0m 17s The patch does not generate ASF License warnings.
        34m 37s



        Subsystem Report/Notes
        Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:5b98639
        JIRA Issue YARN-7525
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12898124/YARN-7525.001.patch
        Optional Tests asflicense mvnsite
        uname Linux a17651c220d4 4.4.0-89-generic #112-Ubuntu SMP Mon Jul 31 19:38:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/patchprocess/precommit/personality/provided.sh
        git revision trunk / e182e77
        maven version: Apache Maven 3.3.9
        Max. process+thread count 404 (vs. ulimit of 5000)
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/18543/console
        Powered by Apache Yetus 0.7.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 29s Docker mode activated.       Prechecks +1 @author 0m 0s The patch does not contain any @author tags.       trunk Compile Tests +1 mvninstall 15m 7s trunk passed +1 mvnsite 0m 16s trunk passed +1 shadedclient 23m 44s branch has no errors when building and testing our client artifacts.       Patch Compile Tests +1 mvnsite 0m 11s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 shadedclient 9m 36s patch has no errors when building and testing our client artifacts.       Other Tests +1 asflicense 0m 17s The patch does not generate ASF License warnings. 34m 37s Subsystem Report/Notes Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:5b98639 JIRA Issue YARN-7525 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12898124/YARN-7525.001.patch Optional Tests asflicense mvnsite uname Linux a17651c220d4 4.4.0-89-generic #112-Ubuntu SMP Mon Jul 31 19:38:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/patchprocess/precommit/personality/provided.sh git revision trunk / e182e77 maven version: Apache Maven 3.3.9 Max. process+thread count 404 (vs. ulimit of 5000) modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site Console output https://builds.apache.org/job/PreCommit-YARN-Build/18543/console Powered by Apache Yetus 0.7.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.

          People

          • Assignee:
            Tao Yang Tao Yang
            Reporter:
            Tao Yang Tao Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development