hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omkar Joshi <ojo...@hortonworks.com>
Subject Re: ContainerLaunchContext in 2.1.x
Date Thu, 05 Sep 2013 17:44:10 GMT
Good question... There was a security problem earlier and to address that
we removed it from ContainerLaunchContext.

Today if you check the payload we are sending Container which contains
ContainerToken. ContainerToken is the secured channel for RM to tell NM
1) ContainerId
2) Resource
3) User
4) NodeId

It is present there by default (irrespective of security). I hope it
answers your doubt.

Omkar Joshi
*Hortonworks Inc.* <http://www.hortonworks.com>

On Wed, Sep 4, 2013 at 2:51 AM, Janne Valkealahti <
janne.valkealahti@gmail.com> wrote:

> With 2.0.x ContainerId was part of the ContainerLaunchContext and I assume
> container id was then used to identify what node manager would actually
> start.
> With 2.1.x ContainerId was removed from ContainerLaunchContext.
> ContainerManagementProtocol is only using a list of StartContainerRequest
> which have ContainerLaunchContext and Token.
> My first question is that if you have different ContainerLaunchContext(i.e.
> command, env variables, etc), how do you know which container is launched
> with which launch context?
> My second question is how node manager is assosiating allocated
> container(which you requested from resource manager) to
> ContainerLaunchContext?

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message