updated for spark 0.8 with hadoop 2.2.0

Signed-off-by: izhaar <izhaar@pdc.kth.se>