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

RM handles killed application tracking URL poorly

    XMLWordPrintableJSON

    Details

      Description

      When the ResourceManager kills an application, it leaves the proxy URL redirecting to the original tracking URL for the application even though the ApplicationMaster is no longer there to service it. It should redirect it somewhere more useful, like the RM's web page for the application, where the user can find that the application was killed and links to the AM logs.

      In addition, sometimes the AM during teardown from the kill can attempt to unregister and provide an updated tracking URL, but unfortunately the RM has "forgotten" the AM due to the kill and refuses to process the unregistration. Instead it logs:

      2013-01-09 17:37:49,671 [IPC Server handler 2 on 8030] ERROR
      org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService: AppAttemptId doesnt exist in cache appattempt_1357575694478_28614_000001
      

      It should go ahead and process the unregistration to update the tracking URL since the application offered it.

        Attachments

        1. YARN-337.patch
          4 kB
          Jason Darrell Lowe

          Issue Links

            Activity

              People

              • Assignee:
                jlowe Jason Darrell Lowe
                Reporter:
                jlowe Jason Darrell Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: