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

AppAttemptInfo should have ApplicationAttemptId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • resourcemanager, restapi

    Description

      Currently YARN RM REST API ws/v1/cluster/apps/application_1443559871354_0008/appattempts only returns int id for each attempts.
      Such as:

          "appAttempt": [
            {
              "id": "1",
              "startTime": "1443645213960",
              "containerId": "container_1443559871354_0008_01_000001",
              "nodeHttpAddress": "localhost:8042",
              "nodeId": "localhost:62978",
              "logsLink": "
      http://localhost:8042/node/containerlogs/container_1443559871354_0008_01_000001/wtan
      "
            },
      

      It's better to have a string ApplicationAttemptId like: appattempt_1443649107010_0001_000001 in REST API.

      Attachments

        1. YARN-4214.1.patch
          1 kB
          Wangda Tan

        Issue Links

          Activity

            People

              leftnoteasy Wangda Tan
              leftnoteasy Wangda Tan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: