You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2017/02/02 05:40:52 UTC

[jira] [Resolved] (SPARK-19432) Fix an unexpected failure when connecting timeout

     [ https://issues.apache.org/jira/browse/SPARK-19432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shixiong Zhu resolved SPARK-19432.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0
                   2.1.1

> Fix an unexpected failure when connecting timeout
> -------------------------------------------------
>
>                 Key: SPARK-19432
>                 URL: https://issues.apache.org/jira/browse/SPARK-19432
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.0.2, 2.1.0
>            Reporter: Shixiong Zhu
>            Assignee: Shixiong Zhu
>            Priority: Minor
>             Fix For: 2.1.1, 2.2.0
>
>
> When connecting timeout, `ask` may fail with a confusing message:
> {code}
> 17/02/01 23:15:19 INFO Worker: Connecting to master ...
> java.lang.IllegalArgumentException: requirement failed: TransportClient has not yet been set.
>         at scala.Predef$.require(Predef.scala:224)
>         at org.apache.spark.rpc.netty.RpcOutboxMessage.onTimeout(Outbox.scala:70)
>         at org.apache.spark.rpc.netty.NettyRpcEnv$$anonfun$ask$1.applyOrElse(NettyRpcEnv.scala:232)
>         at org.apache.spark.rpc.netty.NettyRpcEnv$$anonfun$ask$1.applyOrElse(NettyRpcEnv.scala:231)
>         at scala.concurrent.Future$$anonfun$onFailure$1.apply(Future.scala:138)
>         at scala.concurrent.Future$$anonfun$onFailure$1.apply(Future.scala:136)
>         at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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