org.apache.spark
Class FetchFailed

Object
  extended by org.apache.spark.FetchFailed
All Implemented Interfaces:
java.io.Serializable, TaskEndReason, TaskFailedReason, scala.Equals, scala.Product

public class FetchFailed
extends Object
implements TaskFailedReason, scala.Product, scala.Serializable

:: DeveloperApi :: Task failed to fetch shuffle data from a remote node. Probably means we have lost the remote executors the task is trying to fetch from, and thus need to rerun the previous stage.

See Also:
Serialized Form

Constructor Summary
FetchFailed(BlockManagerId bmAddress, int shuffleId, int mapId, int reduceId, String message)
           
 
Method Summary
 BlockManagerId bmAddress()
           
 int mapId()
           
 String message()
           
 int reduceId()
           
 int shuffleId()
           
 String toErrorString()
          Error message displayed in the web UI.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

FetchFailed

public FetchFailed(BlockManagerId bmAddress,
                   int shuffleId,
                   int mapId,
                   int reduceId,
                   String message)
Method Detail

bmAddress

public BlockManagerId bmAddress()

shuffleId

public int shuffleId()

mapId

public int mapId()

reduceId

public int reduceId()

message

public String message()

toErrorString

public String toErrorString()
Description copied from interface: TaskFailedReason
Error message displayed in the web UI.

Specified by:
toErrorString in interface TaskFailedReason