Re: How can I set the IP a worker use?

2014-10-24 Thread Theodore Si
I found this. So it seems that we should use -h or --host instead of -i and --ip. -i HOST, --ip IP Hostname to listen on (deprecated, please use --host or -h) -h HOST, --host HOST Hostname to listen on 在 10/24/2014 3:35 PM, Akhil Das 写道: Try using the --ip parameter

Re: How can I set the IP a worker use?

2014-10-24 Thread Akhil Das
Try using the --ip parameter while starting the worker. like: spark-1.0.1/bin/spark-class org.apache.spark.deploy.worker.Worker --ip 1.2.3.4 spark://1.2.3.4:7077 Thanks Best Regards On Fri, Oct 24, 2014 at 12

How can I set the IP a worker use?

2014-10-24 Thread Theodore Si
Hi all, I have two network interface card on one node, one is a Eithernet card, the other Infiniband HCA. The master has two IP addresses, lets say 1.2.3.4 (for Eithernet card) and 2.3.4.5 (for HCA). I can start the master by export SPARK_MASTER_IP='1.2.3.4';sbin/start-master.sh to let master