nathanmarz/storm — pull request #667 by revans2 (2013-08-28 14:39:37+00:00)
Title: Ignoring a FileNotFound excpetion that can bring down a supervisor.

When running tests we found a race. kill_local_storm_cluster in testing.clj tries to shut down the supervisor and kill all running workers using try_worker_cleanup. At the same time a worker may have exited and the sync_process would also call try_worker_cleanup. The last one called gets a FileNotFoundException from the call to rmr. rmr can also throw an IOException if there are other issues with deleting the directory. I thought it was best just to ignore this error like we do RuntimeExceptions thrown by rmpath.