[ 
https://issues.apache.org/jira/browse/YARN-5430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jian He updated YARN-5430:
--------------------------
    Attachment: YARN-5430.1.patch

What the patch does:
- For docker container: container-executable runs the docker inspect (which 
already runs today to get the pid) to get the hostname and ip address. NM 
stores that in container status to let app query. 
- For regular container: simply return local host ip and address. 

> Get container's ip and host from NM
> -----------------------------------
>
>                 Key: YARN-5430
>                 URL: https://issues.apache.org/jira/browse/YARN-5430
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-5430.1.patch
>
>
> In YARN-4757, we introduced a DNS mechanism for containers. That's based on 
> the assumption  that we can get the container's ip and host information and 
> store it in the registry-service. This jira aims to get the container's ip 
> and host from the NM, primarily docker container



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to