You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/03/16 22:56:03 UTC

[jira] [Updated] (SPARK-23719) Use correct hostname in non-host networking mode in hadoop 3 docker support

     [ https://issues.apache.org/jira/browse/SPARK-23719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated SPARK-23719:
----------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> Use correct hostname in non-host networking mode in hadoop 3 docker support
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-23719
>                 URL: https://issues.apache.org/jira/browse/SPARK-23719
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core, YARN
>    Affects Versions: 3.1.0
>            Reporter: Mridul Muralidharan
>            Priority: Major
>
> Hostname (node-id's hostname field) specified by RM in allocated containers is the NM_HOST and not the hostname which will be used by the container when running in docker container executor : the actual container hostname is generated at runtime.
> Due to this spark executor's are unable to launch in non-host networking mode when leveraging docker support in hadoop 3 - due to bind failures as hostname they are trying to bind to is of the host machine and not the container.
> We can leverage YARN-7935 to fetch the container's hostname (when available) else fallback to existing mechanism - when running executors.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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