spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiangrui Meng <men...@gmail.com>
Subject Re: OptionalDataException during Naive Bayes Training
Date Sat, 10 Jan 2015 06:01:55 GMT
How big is your data? Did you see other error messages from executors?
It seems to me like a shuffle communication error. This thread may be
relevant:

http://mail-archives.apache.org/mod_mbox/spark-user/201402.mbox/%3CCALrNVjUVtgaE_aG1rqey_coD1nmRLFpEsXGSB7G8R21h0BmcxQ@mail.gmail.com%3E


-Xiangrui

On Fri, Jan 9, 2015 at 3:19 AM, jatinpreet <jatinpreet@gmail.com> wrote:
> Hi,
>
> I am using Spark Version 1.1 in standalone mode in the cluster. Sometimes,
> during Naive Baye's training, I get OptionalDataException at line,
>
> map at NaiveBayes.scala:109
>
> I am getting following exception on the console,
>
> java.io.OptionalDataException:
>         java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1371)
>         java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
>         java.util.HashMap.readObject(HashMap.java:1394)
>         sun.reflect.GeneratedMethodAccessor626.invoke(Unknown Source)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         java.lang.reflect.Method.invoke(Method.java:483)
>
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
>
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)
>
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
>
> What could be the reason behind this?
>
> Thanks
>
>
>
> --
> View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/OptionalDataException-during-Naive-Bayes-Training-tp21059.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
>

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


Mime
View raw message