Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14947

Cluster Application State API returning unexpected responses.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8.1
    • None
    • documentation
    • None
    • Google Dataproc deployment image 1.2.7 using hadoop 2.8.1

    Description

      Documentation around https://hadoop.apache.org/docs/r2.8.0/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Application_State_API is incorrectly stating that making a request to GET http://<rm http address:port>/ws/v1/cluster/apps/<app_id>/state will return an object that is compatible to the enum YarnApplicationState when it is returning the states for RMState.

      I would submit a fix, but I'm not sure what the intended behavior is supposed to be.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zjaffee Zachary Jaffee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: