diff options
author | Bogdan Raducanu <bogdan@databricks.com> | 2017-03-16 15:25:45 +0100 |
---|---|---|
committer | Herman van Hovell <hvanhovell@databricks.com> | 2017-03-16 15:25:45 +0100 |
commit | ee91a0decc389572099ea7c038149cc50375a2ef (patch) | |
tree | 623b09f89e5f6ab1a4135cbddf5caeac88e7731c /sql/hive | |
parent | d647aae278ef31a07fc64715eb07e48294d94bb8 (diff) | |
download | spark-ee91a0decc389572099ea7c038149cc50375a2ef.tar.gz spark-ee91a0decc389572099ea7c038149cc50375a2ef.tar.bz2 spark-ee91a0decc389572099ea7c038149cc50375a2ef.zip |
[SPARK-19946][TESTING] DebugFilesystem.assertNoOpenStreams should report the open streams to help debugging
## What changes were proposed in this pull request?
DebugFilesystem.assertNoOpenStreams throws an exception with a cause exception that actually shows the code line which leaked the stream.
## How was this patch tested?
New test in SparkContextSuite to check there is a cause exception.
Author: Bogdan Raducanu <bogdan@databricks.com>
Closes #17292 from bogdanrdc/SPARK-19946.
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions