GitHub user gf53520 opened a pull request:
https://github.com/apache/spark/pull/17124
Delete needless tmp file after restart structured streaming job
## What changes were proposed in this pull request?
[SPARK-19779](https://issues.apache.org/jira/browse/SPARK-19779)
The PR (https://github.com/apache/spark/pull/17012) can to fix restart a
Structured Streaming application using hdfs as fileSystem, but also exist a
problem that a tmp file of delta file is still reserved in hdfs. And Structured
Streaming don't delete the tmp file generated when restart streaming job in
future.
## How was this patch tested?
unit tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gf53520/spark SPARK-19779
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17124.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 #17124
----
commit 5600776066e083655fe328915b56936775273e15
Author: guifeng <[email protected]>
Date: 2017-03-01T16:30:49Z
Delete needless tmp file after restart structured streaming job
----
---
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]