spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mateiz <>
Subject [GitHub] incubator-spark pull request: Adding an option to persist Spark RD...
Date Sun, 16 Feb 2014 07:38:57 GMT
Github user mateiz commented on the pull request:
    Also a second note, related to cleanup -- if you make a single top-level directory, then
cleanup can just be done in the driver program's shutdown hook, or even better in SparkContext.stop
(actually you should do it in both because the user is not guaranteed to call SparkContext.stop;
but if they do call that you can remove the shutdown hook).
    Finally about the lazy init thing, I personally don't like using a lazy variable if we're
confused about the exact semantics and how it interacts with synchronized. Just manage stuff
by hand if it gets confusing, the same way you'd do it in Java.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
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 or file a JIRA ticket with INFRA.

View raw message