Reducing size of application jar by providing spark- classPath for maven dependencies:
My cluster is having 3 ec2 instances on which hadoop and spark i
You don't need to put all jars files .Just Put your application jar file . If you get again error than put all jar files which are needed .
You have to put jars file by setJars() methods .