java.io.IOException: Failed to create directory /srv/spark/work/app-20160218102438-0000/0)] in 2 attempts org.apache.spark.rpc.RpcTimeoutException: Cannot receive any reply in 120 seconds. This timeout is controlled by spark.rpc.askTimeout

Stack Overflow | Miren | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    apache-spark org.apache.spark.rpc.RpcTimeoutException: Cannot receive any reply in 120

    Stack Overflow | 1 year ago | Miren
    java.io.IOException: Failed to create directory /srv/spark/work/app-20160218102438-0000/0)] in 2 attempts org.apache.spark.rpc.RpcTimeoutException: Cannot receive any reply in 120 seconds. This timeout is controlled by spark.rpc.askTimeout

    Root Cause Analysis

    1. java.io.IOException

      Failed to create directory /srv/spark/work/app-20160218102438-0000/0)] in 2 attempts org.apache.spark.rpc.RpcTimeoutException: Cannot receive any reply in 120 seconds. This timeout is controlled by spark.rpc.askTimeout

      at org.apache.spark.rpc.RpcTimeout.org$apache$spark$rpc$RpcTimeout$$createRpcTimeoutException()
    2. org.apache.spark
      RpcTimeout$$anonfun$addMessageIfTimeout$1.applyOrElse
      1. org.apache.spark.rpc.RpcTimeout.org$apache$spark$rpc$RpcTimeout$$createRpcTimeoutException(RpcTimeout.scala:48)
      2. org.apache.spark.rpc.RpcTimeout$$anonfun$addMessageIfTimeout$1.applyOrElse(RpcTimeout.scala:63)
      3. org.apache.spark.rpc.RpcTimeout$$anonfun$addMessageIfTimeout$1.applyOrElse(RpcTimeout.scala:59)
      3 frames
    3. Scala
      CallbackRunnable.run
      1. scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
      2. scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
      3. scala.util.Try$.apply(Try.scala:161)
      4. scala.util.Failure.recover(Try.scala:185)
      5. scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324)
      6. scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324)
      7. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
      7 frames