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

AggregatedLogFormat should close aclScanner and ownerScanner after create them.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: nodemanager
    • Labels:
      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

          Activity

            People

            • Assignee:
              zxu zhihai xu
              Reporter:
              zxu zhihai xu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: