You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by drarse <dr...@gmail.com> on 2015/05/02 13:06:08 UTC
Problem in Standalone Mode
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: 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 at Nabble.com.
Re: Problem in Standalone Mode
Posted by Akhil Das <ak...@sigmoidanalytics.com>.
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 <dr...@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.
>