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

WintuilsProcessStubExecutor.startStreamReader leaks streams

    Details

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: