Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-1823

YARN REST API GetApplications() to return the information of all the applications running in the cluster.

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 0.16
    • Fix Version/s: None
    • Component/s: REEF Client
    • Labels:
      None

      Description

      There are two parts to this ticket
      1.Add a new YARN REST API with new API GetApplications() returns all the applications running in the cluster.
      2.Update YARN REEF Client API to propagate the above result to the caller.

      This change will only affect C# dll client.

      Usecase: A service submits applications and monitors the same. Due to some reason the service crashes or restarts, In this case, Service needs to remember the application_ids assigned by YARN to the applications submitted to get the status. To avoid this, service can query all the applications in the cluster and then filter out the applications based on the name and use the application_ids from the result to monitor.

      REST API GetApplications() returns JSON object which is detribalized to Org.Apache.REEF.Client.YARN.RestClient.DataModel.Applications
      Applications maintains list of Application objects ( which is application information running in cluster).

        Attachments

          Activity

            People

            • Assignee:
              acragh Achuth Raghavendra
              Reporter:
              acragh Achuth Raghavendra
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: