that looks good to me Umang D.. However, doesnt the SparkContext created automatically have the checkpoint dir when you pass it in the conf? The current code only sets the default when no value is found.
It seems to be complaining about the spark checkpoint directory, which is set to local /tmp/checkpoint by default by Zingg. Is there a way to change this before running Zingg in emr?