Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/9821#discussion_r45282720
--- Diff: core/src/main/scala/org/apache/spark/SparkEnv.scala ---
@@ -258,8 +258,15 @@ object SparkEnv extends Logging {
if (rpcEnv.isInstanceOf[AkkaRpcEnv]) {
rpcEnv.asInstanceOf[AkkaRpcEnv].actorSystem
} else {
+ val actorSystemPort = if (port == 0) 0 else rpcEnv.address.port + 1
// Create a ActorSystem for legacy codes
- AkkaUtils.createActorSystem(actorSystemName, hostname, port, conf,
securityManager)._1
+ AkkaUtils.createActorSystem(
--- End diff --
Digressing a bit... but if we don't have already, we should file a bug to
deprecate and remove `StreamingContext.actorStream` in the 2.0 time frame.
If could be moved to the akka rpc module, for example, if people really
need it.
---
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]