spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mridul Muralidharan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-23719) Use correct hostname in non-host networking mode in hadoop 3 docker support
Date Sat, 17 Mar 2018 02:04:00 GMT
Mridul Muralidharan created SPARK-23719:
-------------------------------------------

             Summary: 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: 2.4.0
            Reporter: Mridul Muralidharan



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
(v7.6.3#76005)

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


Mime
View raw message