hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5430) Return container's ip and host from NM ContainerStatus call
Date Thu, 18 Aug 2016 15:05:22 GMT

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

Billie Rinaldi commented on YARN-5430:

I have started trying this out with a patch I am working on for YARN-5505. It looks like the
IP is not populated immediately, which is okay; I can retry getting the container status until
the IP exists. When the IP doesn’t exist yet, getIPs throws an NPE on ContainerStatusPBImpl
line 283. It seems like it would be better for it to return null in this case rather than
throwing an exception. Another issue is that it looks like the hostname returned by getHost
has a newline at the end. Perhaps this should be trimmed off in DockerLinuxContainerRuntime.getIpAndHost.

> Return container's ip and host from NM ContainerStatus call
> -----------------------------------------------------------
>                 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-branch-2.patch, YARN-5430.1.patch, YARN-5430.2.patch,
YARN-5430.3.patch, YARN-5430.4.patch, YARN-5430.5.patch, YARN-5430.6.patch, YARN-5430.7.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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message