Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
Description
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.
Attachments
Issue Links
- blocks
-
SPARK-23717 Leverage docker support in Hadoop 3
- Open
-
SPARK-23720 Leverage shuffle service when running in non-host networking mode in hadoop 3 docker support
- Open
- relates to
-
YARN-7935 Expose container's hostname to applications running within the docker container
- Resolved