GitHub user CharlesYeh opened a pull request:
https://github.com/apache/spark/pull/9432
show help messages for start-slave and start-master
Addressing https://issues.apache.org/jira/browse/SPARK-11218, mostly copied
start-thriftserver.sh.
```
charlesyeh-mbp:spark charlesyeh$ ./sbin/start-master.sh --help
Usage: Master [options]
Options:
-i HOST, --ip HOST Hostname to listen on (deprecated, please use
--host or -h)
-h HOST, --host HOST Hostname to listen on
-p PORT, --port PORT Port to listen on (default: 7077)
--webui-port PORT Port for web UI (default: 8080)
--properties-file FILE Path to a custom Spark properties file.
Default is conf/spark-defaults.conf.
```
```
charlesyeh-mbp:spark charlesyeh$ ./sbin/start-slave.sh
Usage: Worker [options] <master>
Master must be a URL of the form spark://hostname:port
Options:
-c CORES, --cores CORES Number of cores to use
-m MEM, --memory MEM Amount of memory to use (e.g. 1000M, 2G)
-d DIR, --work-dir DIR Directory to run apps in (default:
SPARK_HOME/work)
-i HOST, --ip IP Hostname to listen on (deprecated, please use
--host or -h)
-h HOST, --host HOST Hostname to listen on
-p PORT, --port PORT Port to listen on (default: random)
--webui-port PORT Port for web UI (default: 8081)
--properties-file FILE Path to a custom Spark properties file.
Default is conf/spark-defaults.conf.
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CharlesYeh/spark helpmsg
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9432.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 #9432
----
commit ab1abc39fc9e19b4e2e32c431a366acbefce6972
Author: Charles Yeh <[email protected]>
Date: 2015-11-03T08:10:01Z
show help messages for start-slave and start-master
----
---
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]