diff options
author | Patrick Wendell <pwendell@gmail.com> | 2013-12-16 22:01:27 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2013-12-16 22:01:27 -0800 |
commit | c1c0f8099f4559ff3ff9982878da6cd36d198ba0 (patch) | |
tree | 08dd4e64220cb4ccbb655bd39f695a5f6ad769dc /new-yarn/src/main/scala/org/apache | |
parent | c1fec89895f03dbdbb6f445ea3cdcd2d050555c4 (diff) | |
download | spark-c1c0f8099f4559ff3ff9982878da6cd36d198ba0.tar.gz spark-c1c0f8099f4559ff3ff9982878da6cd36d198ba0.tar.bz2 spark-c1c0f8099f4559ff3ff9982878da6cd36d198ba0.zip |
Clean-up
Diffstat (limited to 'new-yarn/src/main/scala/org/apache')
-rw-r--r-- | new-yarn/src/main/scala/org/apache/spark/deploy/yarn/WorkerLauncher.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new-yarn/src/main/scala/org/apache/spark/deploy/yarn/WorkerLauncher.scala b/new-yarn/src/main/scala/org/apache/spark/deploy/yarn/WorkerLauncher.scala index ac519fc99c..dca389d64e 100644 --- a/new-yarn/src/main/scala/org/apache/spark/deploy/yarn/WorkerLauncher.scala +++ b/new-yarn/src/main/scala/org/apache/spark/deploy/yarn/WorkerLauncher.scala @@ -58,7 +58,7 @@ class WorkerLauncher(args: ApplicationMasterArguments, conf: Configuration) exte override def preStart() { logInfo("Listen to driver: " + driverUrl) - driver = context.actorFor(driverUrl) + driver = context.actorSelection(driverUrl) context.system.eventStream.subscribe(self, classOf[RemotingLifecycleEvent]) } |