Can you paste the complete stacktrace? It looks like you are having version incompatibility with hadoop.
Thanks Best Regards On Sat, May 2, 2015 at 4:36 PM, drarse <drarse.a...@gmail.com> wrote: > When I run my program with Spark-Submit everythink are ok. But when I try > run in satandalone mode I obtain the nex Exceptions: > > ((This is with > > val df = sqlContext.jsonFile("./datos.json") > > )) > java.io.EOFException > [error] at > java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputStream.java:2744) > > > This is SparkConf > > val sparkConf = new SparkConf().setAppName("myApp") > .setMaster("spark://master:7077") > .setSparkHome("/usr/local/spark/") > .setJars(Seq("./target/scala-2.10/myApp.jar")) > > > > ------------------------------ > View this message in context: Problem in Standalone Mode > <http://apache-spark-user-list.1001560.n3.nabble.com/Problem-in-Standalone-Mode-tp22741.html> > Sent from the Apache Spark User List mailing list archive > <http://apache-spark-user-list.1001560.n3.nabble.com/> at Nabble.com. >