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

FileInputStream is not closed in ProcfsBasedProcessTree#constructProcessSMAPInfo()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: resourcemanager
    • Labels:
      None

      Description

            List<String> lines = IOUtils.readLines(new FileInputStream(file));
      

      FileInputStream is not closed.

        Attachments

          Activity

            People

            • Assignee:
              azuryy Fengdong Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: