[ 
https://issues.apache.org/jira/browse/YARN-7797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336764#comment-16336764
 ] 

Billie Rinaldi commented on YARN-7797:
--------------------------------------

Thanks for the patch, [~eyang]. I have two comments. Does docker inspect always 
return the IP address right away? I have seen situations where many container 
status requests are made to the NM before the IP is returned, but can't recall 
if this is partially due to docker inspect not having the IP yet, or if it is 
only due to delays in the container starting. My second thought is that if the 
IP is empty but the hostname is populated, perhaps we should return the host 
address for the IP and the docker inspect hostname for the hostname.

> 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
>
>
> 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]

Reply via email to