Hello, We would like to use spark on mesos but mesos cluster is accessible via VPN. When running spark-shell we can see registrations attemps rununing with defaut public interface of the desktop :
``` I0701 12:07:34.710917 2440 master.cpp:820] Framework 20140612-135938-16790026-5050-2407-0537 (scheduler(1)@192.168.2.92:42731) already registered, resending acknowledgement I0701 12:07:35.711632 2430 master.cpp:815] Received registration request from scheduler(1)@192.168.2.92:42731 ``` But we would like it register with the VPN interface. This is working when changing my /etc/hosts file and setting hostname on my VPN address: ``` I0701 12:03:54.193022 2441 master.cpp:815] Received registration request from scheduler(1)@10.69.69.45:47440 I0701 12:03:54.193094 2441 master.cpp:833] Registering framework 20140612-135938-16790026-5050-2407-0536 at scheduler(1)@10.69.69.45:47440 ``` I tried spark with ``` spark.driver.host 10.69.69.45 ``` I can see spark binding to the rigth interfa ce but mesos keep registring with default one. (and fail) I hope envvar $MESOS_hostname would do the trick but without success... Thank for help. -- Damien HARDY IT Infrastructure Architect Viadeo - 30 rue de la Victoire - 75009 Paris - France PGP : 45D7F89A
signature.asc
Description: OpenPGP digital signature