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

Improve the log when FinishAppEvent sent to the NodeManager which didn't run the application

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      When FinishAppEvent of an application is sent to a NodeManager and there are no applications of the application ran on the NodeManager, we can see the following log:

      2015-12-28 11:59:18,725 WARN org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl: Event EventType: FINISH_APPLICATION sent to absent application application_1446103803043_9892
      

      YARN-4520 made the log as follows:

                LOG.warn("couldn't find application " + appID + " while processing"
                    + " FINISH_APPS event");
      

      and I'm thinking it can be improved.

      • Make the log WARN from INFO
      • Add why the NodeManager couldn't find the application. For example, "because there were no containers of the application ran on the NodeManager."

      Attachments

        1. YARN-6208.01.patch
          1 kB
          Akira Ajisaka
        2. YARN-6208.02.patch
          1 kB
          Akira Ajisaka
        3. YARN-6208.03.patch
          1 kB
          Akira Ajisaka
        4. YARN-6208.04.patch
          1 kB
          Akira Ajisaka

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aajisaka Akira Ajisaka Assign to me
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment