Skip to content

Commit

Permalink
refactored post-SPARK-1772
Browse files Browse the repository at this point in the history
  • Loading branch information
markhamstra committed May 12, 2014
1 parent 1a6a35e commit 071d193
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import org.apache.spark._
import org.apache.spark.deploy.SparkHadoopUtil
import org.apache.spark.scheduler._
import org.apache.spark.storage.{StorageLevel, TaskResultBlockId}
import org.apache.spark.util.{UncaughtExceptionHandler, AkkaUtils, Utils}
import org.apache.spark.util.{AkkaUtils, Utils}

/**
* Spark executor used with Mesos, YARN, and the standalone scheduler.
Expand Down

This file was deleted.

3 changes: 2 additions & 1 deletion core/src/main/scala/org/apache/spark/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import tachyon.client.{TachyonFile,TachyonFS}

import org.apache.spark.{Logging, SecurityManager, SparkConf, SparkException}
import org.apache.spark.deploy.SparkHadoopUtil
import org.apache.spark.executor.ExecutorUncaughtExceptionHandler
import org.apache.spark.serializer.{DeserializationStream, SerializationStream, SerializerInstance}

/**
Expand Down Expand Up @@ -786,7 +787,7 @@ private[spark] object Utils extends Logging {
try {
block
} catch {
case t: Throwable => UncaughtExceptionHandler.uncaughtException(Thread.currentThread, t)
case t: Throwable => ExecutorUncaughtExceptionHandler.uncaughtException(t)
}
}

Expand Down

0 comments on commit 071d193

Please sign in to comment.