spark.FetchFailedException.scala Maven / Gradle / Ivy
The newest version!
package spark
import spark.storage.BlockManagerId
private[spark] class FetchFailedException(
val bmAddress: BlockManagerId,
val shuffleId: Int,
val mapId: Int,
val reduceId: Int,
cause: Throwable)
extends Exception {
override def getMessage(): String =
"Fetch failed: %s %d %d %d".format(bmAddress, shuffleId, mapId, reduceId)
override def getCause(): Throwable = cause
def toTaskEndReason: TaskEndReason =
FetchFailed(bmAddress, shuffleId, mapId, reduceId)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy