GitHub user zsxwing opened a pull request:
https://github.com/apache/spark/pull/12093
[SPARK-14304][SQL][Tests]Fix tests that don't create temp files in the
`java.io.tmpdir` folder
## What changes were proposed in this pull request?
If I press `CTRL-C` when running these tests, the temp files will be left
in `sql/core` folder and I need to delete them manually. It's annoying. This PR
just moves the temp files to the `java.io.tmpdir` folder and add a name prefix
for them.
## How was this patch tested?
Existing Jenkins tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zsxwing/spark temp-file
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12093.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12093
----
commit e08a6380b4a1ff4fafbf20d95de3e7ec5d0abc9c
Author: Shixiong Zhu <[email protected]>
Date: 2016-03-31T17:42:19Z
Fix tests that don't create temp files in the `java.io.tmpdir` folder
If I press `CTRL-C` when running these tests, the temp files will be left
in `sql/core` folder and I need to delete them manually. It's annoying. This PR
just moves the temp files to the `java.io.tmpdir` folder and add a name prefix
for them.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]