-
- Downloads
Removed throwable field from FetchFailedException and added MetadataFetchFailedException
FetchFailedException used to have a Throwable field, but in reality we never propagate any of the throwable/exceptions back to the driver because Executor explicitly looks for FetchFailedException and then sends FetchFailed as the TaskEndReason. This pull request removes the throwable and adds a MetadataFetchFailedException that extends FetchFailedException (so now MapOutputTracker throws MetadataFetchFailedException instead). Author: Reynold Xin <rxin@apache.org> Closes #1227 from rxin/metadataFetchException and squashes the following commits: 5cb1e0a [Reynold Xin] MetadataFetchFailedException extends FetchFailedException. 8861ee2 [Reynold Xin] Throw MetadataFetchFailedException in MapOutputTracker.
Showing
- core/src/main/scala/org/apache/spark/MapOutputTracker.scala 7 additions, 5 deletionscore/src/main/scala/org/apache/spark/MapOutputTracker.scala
- core/src/main/scala/org/apache/spark/TaskEndReason.scala 1 addition, 1 deletioncore/src/main/scala/org/apache/spark/TaskEndReason.scala
- core/src/main/scala/org/apache/spark/executor/Executor.scala 1 addition, 1 deletioncore/src/main/scala/org/apache/spark/executor/Executor.scala
- core/src/main/scala/org/apache/spark/scheduler/TaskDescription.scala 4 additions, 0 deletions...in/scala/org/apache/spark/scheduler/TaskDescription.scala
- core/src/main/scala/org/apache/spark/shuffle/FetchFailedException.scala 25 additions, 18 deletions...scala/org/apache/spark/shuffle/FetchFailedException.scala
- core/src/main/scala/org/apache/spark/shuffle/hash/BlockStoreShuffleFetcher.scala 3 additions, 2 deletions.../apache/spark/shuffle/hash/BlockStoreShuffleFetcher.scala
- core/src/test/scala/org/apache/spark/MapOutputTrackerSuite.scala 1 addition, 0 deletions...c/test/scala/org/apache/spark/MapOutputTrackerSuite.scala
Please register or sign in to comment