GitHub user nkronenfeld opened a pull request:
https://github.com/apache/spark/pull/5140
[Spark-4848] Stand-alone cluster: Allow differences between workers with
multiple instances
This refixes #3699 with the latest code.
This fixes SPARK-4848
I've changed the stand-alone cluster scripts to allow different workers to
have different numbers of instances, with both port and web-ui port following
allong appropriately.
I did this by moving the loop over instances from start-slaves and
stop-slaves (on the master) to start-slave and stop-slave (on the worker).
Wile I was at it, I changed SPARK_WORKER_PORT to work the same way as
SPARK_WORKER_WEBUI_PORT, since the new methods work fine for both.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nkronenfeld/spark-1 feature/spark-4848
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5140.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5140
----
commit d739640308ca0884bf5cd678dbedf3cc85c3cec9
Author: Nathan Kronenfeld <[email protected]>
Date: 2015-03-23T17:28:44Z
Move looping through instances from the master to the workers, so that each
worker respects its own number of instances and web-ui port
----
---
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]