An also i am facing one issue. If i run the program in yarn-cluster mode it works absolutely fine but if i change it to yarn-client mode i get this below error.
Application application_1405471266091_0055 failed 2 times due to AM Container for appattempt_1405471266091_0055_000002 exited with exitCode: -1000 due to: File does not exist: ********/user/hadoop/.sparkStaging/application_1405471266091_0055/commons-math3-3.0.jar I have commons-math3-3.0.jar in the class path and i am loading it to staging also. yarn.Client: Uploading file:***/commons-math3-3.0.jar to ***/user/hadoop/.sparkStaging/application_1405471266091_0055/commons-math3-3.0.jar. from the logs. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-job-tracker-tp8367p10343.html Sent from the Apache Spark User List mailing list archive at Nabble.com.