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

Use path strings consistently for webservice endpoints in RMWebServices

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently there are 2 types of endpoint path definitions:
      1. with string, example: @Path("/apps/

      {appid}

      /appattempts/

      {appattemptid}

      /containers/

      {containerid}

      ")
      2. with constant, example:
      @Path(RMWSConsts.APPS_APPID_APPATTEMPTS_APPATTEMPTID_CONTAINERS)

      Most preferably, constants should be used for all Paths.

        Attachments

        1. YARN-8502-001.patch
          3 kB
          Szilard Nemeth

          Activity

            People

            • Assignee:
              snemeth Szilard Nemeth
              Reporter:
              snemeth Szilard Nemeth
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: