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

WintuilsProcessStubExecutor.startStreamReader leaks streams

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

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.8.0, 3.0.0-alpha1
    • nodemanager
    • Reviewed

    Description

      while looking at the file, my IDE highlights that the thread runnables started by
      WintuilsProcessStubExecutor.startStreamReader() don't close their streams as they exit.

      a java7 try-with-resources would trivially fix this

      Attachments

        1. YARN-3594.1.patch
          2 kB
          Lars Francke

        Activity

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

          People

            larsfrancke Lars Francke
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment