diff options
author | Charles Yeh <charlesyeh@dropbox.com> | 2015-11-09 13:22:05 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-11-09 13:22:05 +0100 |
commit | 9e48cdfbdecc9554a425ba35c0252910fd1e8faa (patch) | |
tree | c064ec4f2c51cda5e2f4df2c9d156b6f2cff6fbb /docs/sql-programming-guide.md | |
parent | d8b50f70298dbf45e91074ee2d751fee7eecb119 (diff) | |
download | spark-9e48cdfbdecc9554a425ba35c0252910fd1e8faa.tar.gz spark-9e48cdfbdecc9554a425ba35c0252910fd1e8faa.tar.bz2 spark-9e48cdfbdecc9554a425ba35c0252910fd1e8faa.zip |
[SPARK-11218][CORE] 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.
```
Author: Charles Yeh <charlesyeh@dropbox.com>
Closes #9432 from CharlesYeh/helpmsg.
Diffstat (limited to 'docs/sql-programming-guide.md')
0 files changed, 0 insertions, 0 deletions