Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5392#discussion_r27969603
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala 
---
    @@ -21,48 +21,50 @@ import java.io.File
     import java.io.IOException
     import java.text.SimpleDateFormat
     import java.util.{UUID, Date}
    +import java.util.concurrent._
     
     import scala.collection.JavaConversions._
     import scala.collection.mutable.{HashMap, HashSet}
    -import scala.concurrent.duration._
    -import scala.language.postfixOps
    +import scala.concurrent.ExecutionContext
     import scala.util.Random
     
    -import akka.actor._
    -import akka.remote.{DisassociatedEvent, RemotingLifecycleEvent}
    -
    +import org.apache.spark.rpc._
     import org.apache.spark.{Logging, SecurityManager, SparkConf}
     import org.apache.spark.deploy.{Command, ExecutorDescription, 
ExecutorState}
     import org.apache.spark.deploy.DeployMessages._
     import org.apache.spark.deploy.master.{DriverState, Master}
     import org.apache.spark.deploy.worker.ui.WorkerWebUI
     import org.apache.spark.metrics.MetricsSystem
    -import org.apache.spark.util.{ActorLogReceive, AkkaUtils, SignalLogger, 
Utils}
    +import org.apache.spark.util.{SignalLogger, Utils}
    +
    +import scala.util.control.NonFatal
    --- End diff --
    
    Fixed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to