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

On Failover tracking url wrong in application cli for KILLED application

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: client, resourcemanager
    • Labels:
      None
    • Environment:

      2 RM HA

    • Target Version/s:

      Description

      Run an application and kill the same after starting
      Check ./yarn application -list -appStates KILLED

      (empty line)

      Application-Id Tracking-URL
      application_1423219262738_0001 http://<IP>:PORT>/cluster/app/application_1423219262738_0001

      Shutdown the active RM1
      Check the same command ./yarn application -list -appStates KILLED after RM2 is active

      Application-Id Tracking-URL
      application_1423219262738_0001 null

      Tracking url for application is shown as null
      Expected : Same url before failover should be shown

      ApplicationReport .getOriginalTrackingUrl() is null after failover

      org.apache.hadoop.yarn.client.cli.ApplicationCLI
      listApplications(Set<String> appTypes,
      EnumSet<YarnApplicationState> appStates)

        Attachments

        1. 0001-YARN-3151.patch
          4 kB
          Rohith Sharma K S
        2. 0002-YARN-3151.patch
          6 kB
          Rohith Sharma K S
        3. 0002-YARN-3151.patch
          6 kB
          Rohith Sharma K S

          Activity

            People

            • Assignee:
              rohithsharma Rohith Sharma K S
              Reporter:
              bibinchundatt Bibin A Chundatt
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: