spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Robinson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-4563) Allow spark driver to bind to different ip then advertise ip
Date Fri, 24 Feb 2017 03:54:44 GMT

    [ https://issues.apache.org/jira/browse/SPARK-4563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15881893#comment-15881893
] 

Danny Robinson commented on SPARK-4563:
---------------------------------------

Updated my solution for Spark 1.6.3 which seemed to develop an issue with the port actually
being accessible, possibly to do with tcp6.

{code}
export SPARK_PUBLIC_DNS=IPADDR_OF_DOCKER_HOST_OR_PROXY
export SPARK_LOCAL_IP=IPADDR_OF_DOCKER_HOST_OR_PROXY
at container startup I do this:
echo -e "0.0.0.0 ${HOSTNAME_OF_DOCKER_HOST_OR_PROXY}" >> /etc/hosts
{code}

> Allow spark driver to bind to different ip then advertise ip
> ------------------------------------------------------------
>
>                 Key: SPARK-4563
>                 URL: https://issues.apache.org/jira/browse/SPARK-4563
>             Project: Spark
>          Issue Type: Improvement
>          Components: Deploy
>            Reporter: Long Nguyen
>            Assignee: Marcelo Vanzin
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Spark driver bind ip and advertise is not configurable. spark.driver.host is only bind
ip. SPARK_PUBLIC_DNS does not work for spark driver. Allow option to set advertised ip/hostname



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message