attilapiros commented on pull request #31742:
URL: https://github.com/apache/spark/pull/31742#issuecomment-796436314


   @nchammas
   If I am right you found something which should be clarified better with the 
documentation and tested directly with a unit test.
   That will be a very good contribution. 
   
   To have checkpoint directory cleaned up at shutdown one can register the 
directory to be deleted at exit:
   
   ```
    FileSystem fs = FileSystem.get(conf);
    fs.deleteOnExit(checkpointPath);
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to