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

RM Apps API returns only active apps when query parameter queue used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0
    • resourcemanager, restapi
    • None
    • Reviewed

    Description

      If you run RM's Cluster Applications API with no query parameters, you get a list of apps.
      If you run RM's Cluster Applications API with any query parameters other than "queue" you get the list of apps with the parameter filters being applied.
      However, when you use the "queue" query parameter, you only see the applications that are active in the cluster (NEW, NEW_SAVING, SUBMITTED, ACCEPTED, RUNNING). This behavior is inconsistent with the API. If there is a sound reason behind this, it should be documented and it seems like there might be as the mapred queue CLI behaves similarly.

      http://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Applications_API

      Attachments

        1. YARN-6894.003.patch
          2 kB
          Gergely Novák
        2. YARN-6894.002.patch
          2 kB
          Gergely Novák
        3. YARN-6894.001.patch
          1 kB
          Gergely Novák

        Activity

          People

            GergelyNovak Gergely Novák
            gsohn Grant Sohn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: