[
https://issues.apache.org/jira/browse/YARN-7797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340280#comment-16340280
]
Shane Kumpf commented on YARN-7797:
-----------------------------------
Thanks for addressing my comments, [~eyang]! I did find one issue. If the env
{{YARN_CONTAINER_RUNTIME_DOCKER_CONTAINER_NETWORK}} is not set, the value is
supposed to come from yarn-site (or yarn-default if not set in yarn-site). Take
a look at the network handling in
{{DockerLinuxContainerRuntime#launchContainer}}, I think something similar is
needed to check both the env and config. I believe the current env check can
NPE as well, so might be good to add some checks there. I think this is ready
once that is fixed.
> Docker host network can not obtain IP address for RegistryDNS
> -------------------------------------------------------------
>
> Key: YARN-7797
> URL: https://issues.apache.org/jira/browse/YARN-7797
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: nodemanager
> Affects Versions: 3.1.0
> Reporter: Eric Yang
> Assignee: Eric Yang
> Priority: Major
> Attachments: YARN-7797.001.patch, YARN-7797.002.patch,
> YARN-7797.003.patch
>
>
> When docker is configured to use host network, docker inspect command does
> not return IP address of the container. This prevents IP information to be
> collected for RegistryDNS to register a hostname entry for the docker
> container.
> The proposed solution is to intelligently detect the docker network
> deployment method, and report back host IP address for RegistryDNS.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]