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

NPE in FiCaSchedulerApp when debug log enabled in async-scheduling mode

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      YARN-6678 have fixed the IllegalStateException problem but the debug log it added may cause NPE when trying to print containerId of non-existed reserved container on this node. Replace schedulerContainer.getSchedulerNode().getReservedContainer().getContainerId() with schedulerContainer.getSchedulerNode().getReservedContainer() can fix this problem.

      Attachments

        1. YARN-7508.001.patch
          1 kB
          Tao Yang

        Activity

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

          People

            Tao Yang Tao Yang
            Tao Yang Tao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment