amplab/shark — pull request #126 by harsha2010 (2013-08-16 00:49:51+00:00)
Title: Reorder materialization and cache insertion

In case of failures during materialization the current ordering means we cannot clean up RDDs that are cached when the table creation fails.
This patch fixes the cleanup issue by ordering table creation first followed by RDD materialization.