You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by DrKhu <kh...@gmail.com> on 2014/09/08 15:36:45 UTC

Re: Standalone spark cluster. Can't submit job programmatically -> java.io.InvalidClassException

After wasting a lot of time, I've found the problem. Despite I haven't used
hadoop/hdfs in my application, hadoop client matters. The problem was in
hadoop-client version, it was different than the version of hadoop, spark
was built for. Spark's hadoop version 1.2.1, but in my application that was
2.4.

When I changed the version of hadoop client to 1.2.1 in my app, I'm able to
execute spark code on cluster.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Standalone-spark-cluster-Can-t-submit-job-programmatically-java-io-InvalidClassException-tp13456p13688.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Re: Standalone spark cluster. Can't submit job programmatically -> java.io.InvalidClassException

Posted by sivarani <wh...@gmail.com>.
No able to get it , how did you exactly fix it? i am using maven build

i downloaded spark1.1.1 and then packaged with mvn -Dhadoop.version=1.2.1
-DskipTests clean package but i keep getting invalid class exceptions



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Standalone-spark-cluster-Can-t-submit-job-programmatically-java-io-InvalidClassException-tp13456p20624.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org