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: [email protected]
For additional commands, e-mail: [email protected]