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

FileInputStream is not closed in ProcfsBasedProcessTree#constructProcessSMAPInfo()

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

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • resourcemanager
    • None

    Description

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

      FileInputStream is not closed.

      Attachments

        1. YARN-1870.patch
          1 kB
          Fengdong Yu

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment