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

WintuilsProcessStubExecutor.startStreamReader leaks streams

    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

          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: