set the mode (local/inmemory) when using setAs
removed the mapred.classpath setting and checked before adding distributed files in LibJars