Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19946

DebugFilesystem.assertNoOpenStreams should report the open streams to help debugging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1, 2.2.0
    • Tests
    • None

    Description

      In DebugFilesystem.assertNoOpenStreams if there are open streams an exception is thrown showing the number of open streams. This doesn't help much to debug where the open streams were leaked.
      The exception should also report where the stream was leaked. This can be done through a cause exception.

      Attachments

        Activity

          People

            bograd Bogdan Raducanu
            bograd Bogdan Raducanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: