spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Buroojy <nick.buro...@civitaslearning.com>
Subject Failed job not throwing exception
Date Mon, 01 Feb 2016 20:46:11 GMT
Hi All,

I'm seeing some odd behavior with a Spark-Elasticsearch loading job. The
load seems to fail, it only loads part of the data, and there is a
stacktrace on the Driver, but there is no exception propagated to the top
level. Has anyone seen "swallowed" failures before?

We're using spark 1.5.2

16/01/31 18:34:48 INFO scheduler.DAGScheduler: Job 1 failed: runJob at
EsSparkSQL.scala:57, took 129.232414 s
org.apache.spark.SparkException: Job aborted due to stage failure: Task 15
in stage 1.0 failed 4 times, most recent failure: Lost task 15.3 in stage
1.0 (TID 83, ip-10-4-5-32.ec2.internal): UnknownReason
Driver stacktrace:
        at org.apache.spark.scheduler.DAGScheduler.org
$apache$spark$scheduler$DAGScheduler$failJobAndIndependentStages(DAGScheduler.scala:1283)
        at
org.apache.spark.scheduler.DAGScheduler$anonfun$abortStage$1.apply(DAGScheduler.scala:1271)
        at
org.apache.spark.scheduler.DAGScheduler$anonfun$abortStage$1.apply(DAGScheduler.scala:1270)
        at
scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
        at
scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
        at
org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1270)

        at
org.apache.spark.scheduler.DAGScheduler$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:697)

        at
org.apache.spark.scheduler.DAGScheduler$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:697)

        at scala.Option.foreach(Option.scala:236)
        at
org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:697)

        at
org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:1496)

        at
org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1458)
        at
org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1447)

        at org.apache.spark.util.EventLoop$anon$1.run(EventLoop.scala:48)
        at
org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:567)

        at org.apache.spark.SparkContext.runJob(SparkContext.scala:1824)
        at org.apache.spark.SparkContext.runJob(SparkContext.scala:1837)

        at org.apache.spark.SparkContext.runJob(SparkContext.scala:1914)
        at
org.elasticsearch.spark.sql.EsSparkSQL$.saveToEs(EsSparkSQL.scala:57)

        at
org.elasticsearch.spark.sql.EsSparkSQL$.saveToEs(EsSparkSQL.scala:45)

        at com.civitaslearning.[redacted]
        at scala.util.Try$.apply(Try.scala:161)
        at com.civitaslearning.[redacted]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$runMain(SparkSubmit.scala:674)

        at
org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
        at
org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

-- 

Nick Buroojy, Software Engineer

Civitas Learning, Inc.

100 Congress Avenue, Suite 300, Austin, TX 78701

e: nick@civitaslearning.com

Mime
View raw message