Master能够正常启动
lin@lin-Wenxiang-E520:/opt/data01/spark-1.3.0-bin-2.6.0-cdh5.4.0$ sbin/start-slave.sh
starting org.apache.spark.deploy.worker.Worker, logging to /opt/data01/spark-1.3.0-bin-2.6.0-cdh5.4.0/sbin/../logs/spark-lin-org.apache.spark.deploy.worker.Worker--lin-Wenxiang-E520.out
failed to launch org.apache.spark.deploy.worker.Worker:
--properties-file FILE Path to a custom Spark properties file.
Default is conf/spark-defaults.conf.
full log in /opt/data01/spark-1.3.0-bin-2.6.0-cdh5.4.0/sbin/../logs/spark-lin-org.apache.spark.deploy.worker.Worker--lin-Wenxiang-E520.out
log日志里面的内容为:
16/04/13 16:40:17 INFO worker.Worker: Registered signal handlers for [TERM, HUP, INT]
16/04/13 16:40:17 WARN util.Utils: Your hostname, lin-Wenxiang-E520 resolves to a loopback address: 127.0.1.1; using 10.170.33.22 instead (on interface eth0)
16/04/13 16:40:17 WARN util.Utils: Set SPARK_LOCAL_IP if you need to bind to another address
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.
|
|