Re: Exceptions not caught?

2014-10-23 Thread Nan Zhu
D 1) > java.io.IOException: org.apache.thrift.protocol.TProtocolException: > . > > What is going on? Why isn't the exception just being handled by the > try-catch? (BTW this is in Scala) > > > > -- > View this message in context: > http://apache-spark-us

Re: Exceptions not caught?

2014-10-23 Thread Marcelo Vanzin
On Thu, Oct 23, 2014 at 3:40 PM, ankits wrote: > 2014-10-23 15:39:50,845 ERROR [] Exception in task 1.0 in stage 1.0 (TID 1) > java.io.IOException: org.apache.thrift.protocol.TProtocolException: This looks like an exception that's happening on an executor and just being reported in the driver's

Re: Exceptions not caught?

2014-10-23 Thread ankits
>Can you check your class Y and fix the above ? I can, but this is about catching the exception should it be thrown by any class in the spark job. Why is the exception not being caught? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Exceptions-not-cau

Re: Exceptions not caught?

2014-10-23 Thread Ted Yu
at org.apache.spark.scheduler.Task.run(Task.scala:54) > at > org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:177) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > > java.util.concurrent.ThreadPoo

Re: Exceptions not caught?

2014-10-23 Thread ankits
Also everything is running locally on my box, driver and workers. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Exceptions-not-caught-tp17157p17160.html Sent from the Apache Spark User List mailing list archive at Nabble.com

Re: Exceptions not caught?

2014-10-23 Thread ankits
il.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 2014-10-23 15:51:10,791 ERROR [] Task 0 in stage 1.0 failed 1 times; aborting job -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Exceptions-not-cau

Re: Exceptions not caught?

2014-10-23 Thread Ted Yu
this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Exceptions-not-caught-tp17157.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > - > To unsubscribe, e

Exceptions not caught?

2014-10-23 Thread ankits
atch? (BTW this is in Scala) -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Exceptions-not-caught-tp17157.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To u