You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Suma Shivaprasad (JIRA)" <ji...@apache.org> on 2018/02/15 00:12:00 UTC

[jira] [Created] (YARN-7935) Expose container's hostname to applications running within the docker container

Suma Shivaprasad created YARN-7935:
--------------------------------------

             Summary: Expose container's hostname to applications running within the docker container
                 Key: YARN-7935
                 URL: https://issues.apache.org/jira/browse/YARN-7935
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: yarn
            Reporter: Suma Shivaprasad
            Assignee: Suma Shivaprasad


Some applications have a need to bind to the container's hostname (like Spark) which is different from the NodeManager's hostname(NM_HOST which is available as an env during container launch) when launched through Docker runtime. The container's hostname can be exposed to applications via an env CONTAINER_HOSTNAME. Another potential candidate is the container's IP but this can be addressed in a separate jira.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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