diff options
author | Prashant Sharma <prashant.s@imaginea.com> | 2013-11-12 12:43:53 +0530 |
---|---|---|
committer | Prashant Sharma <prashant.s@imaginea.com> | 2013-11-12 12:43:53 +0530 |
commit | 6860b79f6e4cc0d38b08848f19127c259d9b5069 (patch) | |
tree | 1745f948d14abae0e04f802ea0874a0d5b00eee8 /examples/src | |
parent | a8bfdd4377918bf665d4615c7b45ed84a7a9cebc (diff) | |
download | spark-6860b79f6e4cc0d38b08848f19127c259d9b5069.tar.gz spark-6860b79f6e4cc0d38b08848f19127c259d9b5069.tar.bz2 spark-6860b79f6e4cc0d38b08848f19127c259d9b5069.zip |
Remove deprecated actorFor and use actorSelection everywhere.
Diffstat (limited to 'examples/src')
-rw-r--r-- | examples/src/main/scala/org/apache/spark/streaming/examples/ActorWordCount.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/scala/org/apache/spark/streaming/examples/ActorWordCount.scala b/examples/src/main/scala/org/apache/spark/streaming/examples/ActorWordCount.scala index 08e399f9ee..128711aacd 100644 --- a/examples/src/main/scala/org/apache/spark/streaming/examples/ActorWordCount.scala +++ b/examples/src/main/scala/org/apache/spark/streaming/examples/ActorWordCount.scala @@ -86,7 +86,7 @@ class FeederActor extends Actor { class SampleActorReceiver[T: ClassTag](urlOfPublisher: String) extends Actor with Receiver { - lazy private val remotePublisher = context.actorFor(urlOfPublisher) + lazy private val remotePublisher = context.actorSelection(urlOfPublisher) override def preStart = remotePublisher ! SubscribeReceiver(context.self) |