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

AggregatedLogFormat should close aclScanner and ownerScanner after create them.

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • nodemanager
    • None

    Description

      AggregatedLogFormat should close aclScanner and ownerScanner after create them. aclScanner and ownerScanner are created by createScanner in getApplicationAcls and getApplicationOwner and are never closed. TFile.Reader.Scanner implement java.io.Closeable. We should close them after use them.

      Attachments

        1. YARN-3882.000.patch
          5 kB
          Zhihai Xu

        Activity

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

          People

            zxu Zhihai Xu
            zxu Zhihai Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment