Resolve Spark Program error: caused by:java.util.concurrent.TimeoutException:Futures timed out after [seconds]

Source: Internet
Author: User

Error message:

09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.catalyst.errors. Package$.attachtree ( Package. scala:49)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at Org.apache.spark.sql.execution.aggregate.TungstenAggregat E.doexecute (tungstenaggregate.scala:80)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.sparkplan$ $anonfun $execute $5.apply (sparkplan.scala:132)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.sparkplan$ $anonfun $execute $5.apply (sparkplan.scala:130)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.rdd.rddoperationscope$.withscope (RDDOper ationscope.scala:150)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.SparkPlan.execute (sparkpla n.scala:130)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.Exchange.prepareShuffleDep Endency (exchange.scala:164)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.exchange$ $anonfun $doexecut E$1.apply (exchange.scala:254)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.exchange$ $anonfun $doexecut E$1.apply (exchange.scala:248)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.catalyst.errors. Package$.attachtree ( Package. scala:48)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 INFO-... 64 More09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-caused by:java.util.concurrent.TimeoutException:Futures timed Out after [300seconds]09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at scala.concurrent.impl.promise$defaultpromise.ready (Promis e.scala:219)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at scala.concurrent.impl.promise$defaultpromise.result (Promi se.scala:223)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at scala.concurrent.await$ $anonfun $result$1.apply ( Package. scala:107)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at Scala.concurrent.blockcontext$defaultblockcontext$.blocko N (blockcontext.scala:53)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at Scala.concurrent.await$.result ( Package. scala:107)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.joins.BroadcastHashJoin.do Execute (broadcasthashjoin.scala:107)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.sparkplan$ $anonfun $execute $5.apply (sparkplan.scala:132)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.sparkplan$ $anonfun $execute $5.apply (sparkplan.scala:130)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.rdd.rddoperationscope$.withscope (RDDOper ationscope.scala:150)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.SparkPlan.execute (sparkpla n.scala:130)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.Project.doExecute (basicope rators.scala:46)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.sparkplan$ $anonfun $execute $5.apply (sparkplan.scala:132)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.sparkplan$ $anonfun $execute $5.apply (sparkplan.scala:130)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.rdd.rddoperationscope$.withscope (RDDOper ationscope.scala:150)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.execution.SparkPlan.execute (sparkpla n.scala:130)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at Org.apache.spark.sql.execution.aggregate.TungstenAggregat e$ $anonfun $doexecute$1.apply (tungstenaggregate.scala:86)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at Org.apache.spark.sql.execution.aggregate.TungstenAggregat e$ $anonfun $doexecute$1.apply (tungstenaggregate.scala:80)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 info-at org.apache.spark.sql.catalyst.errors. Package$.attachtree ( Package. scala:48)09-05-2017 09:58:44 CST xxxx_job_1494294485570174 INFO-... More
Search based on the last caused by information and stack trace information to determine the broacast phase timeout, workaround: http://stackoverflow.com/questions/41123846/ Scala-spark-dataframes-join-java-util-concurrent-timeoutexception-futures-t

Resolve Spark Program error: caused by:java.util.concurrent.TimeoutException:Futures timed out after [seconds]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.