Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2235

Add new RESTful API for retrieving application

    XMLWordPrintableJSON

Details

    Description

      Situation:

      Currently, the path format of retrieving application is /ws/v1/partition/{partitionName}/queue/{queueName}/application/{appId}.
      We have to give 3 parameters (partitionName, queueName & appID) to fetch application information. But one application can only be submitted to one queue and PartitionContext stores all applications. It means that we can fetch the target application without queue name.

      Proposal:

      As we have discussed in slack, we can add the following 2 RESTful API.

      1. /ws/v1/partition/{partitionName}/applications/{type}
        aim to list applications IDs via the types: rejected, running and completed
      2. /ws/v1/partition/{partitionName}/application/{applicationID} 
        aim to retrieving one application object directly.

       

      Attachments

        Issue Links

          Activity

            People

              yifan.stan Xie YiFan
              yifan.stan Xie YiFan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: