Github user srowen commented on the pull request:
https://github.com/apache/spark/pull/2393#issuecomment-58471362
Ah, right. This is the shutdown hook:
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/Utils.scala#L257
... but it requires you to have used `createTempDir()`. Is this a temp dir?
I have an outstanding PR that improves a few things here, including, just
directly deleting everything seen by `registerShutdownDeleteDir` in a single
shutdown hook:
https://github.com/apache/spark/pull/2670
If that PR looks OK then, it would be good to get it committed, since it
would make @chenghao-intel 's simpler solution here work.
---
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]