Github user GayathriMurali commented on the pull request: https://github.com/apache/spark/pull/11140#issuecomment-184842753 @JoshRosen @zsxwing I am currently trying to fix a null pointer exception. But on digging deeper, I see that there is no control over the daemon thread. It could start removing file objects even before it is added to the queue and there is no way to kill it. https://commons.apache.org/proper/commons-io/apidocs/src-html/org/apache/commons/io/FileCleaningTracker.html --- This implements a cleaner and more predictable Phantom Reference thread. I can write up a document on what needs to be changed to incorporate something like this, but can someone let me know if this approach would 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org