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

DebugFilesystem.assertNoOpenStreams should report the open streams to help debugging

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: Tests
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: