You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Michael Quinlan <mq...@gmail.com> on 2015/04/02 23:18:27 UTC

Re: Submitting to a cluster behind a VPN, configuring different IP address

I was able to hack this on my similar setup issue by running (on the driver) 

$ sudo hostname ip

Where ip is the same value set in the "spark.driver.host" property. This
isn't a solution I would use universally and hope the someone can fix this
bug in the distribution.

Regards,

Mike



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Submitting-to-a-cluster-behind-a-VPN-configuring-different-IP-address-tp9360p22363.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Re: Submitting to a cluster behind a VPN, configuring different IP address

Posted by TimMalt <dw...@gmx.net>.
Hi, and what can I do when I am on Windows? 
It does not allow me to set the hostname to some IP....

Thanks,
Tim



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Submitting-to-a-cluster-behind-a-VPN-configuring-different-IP-address-tp9360p22674.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Re: Submitting to a cluster behind a VPN, configuring different IP address

Posted by jay vyas <ja...@gmail.com>.
yup ....a related JIRA is here
https://issues.apache.org/jira/browse/SPARK-5113 which you might want to
leave a comment in.  This can be quite tricky we found ! but there are a
host of env variable hacks you can use when launching spark masters/slaves.

On Thu, Apr 2, 2015 at 5:18 PM, Michael Quinlan <mq...@gmail.com> wrote:

> I was able to hack this on my similar setup issue by running (on the
> driver)
>
> $ sudo hostname ip
>
> Where ip is the same value set in the "spark.driver.host" property. This
> isn't a solution I would use universally and hope the someone can fix this
> bug in the distribution.
>
> Regards,
>
> Mike
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Submitting-to-a-cluster-behind-a-VPN-configuring-different-IP-address-tp9360p22363.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>


-- 
jay vyas