|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.Public @InterfaceStability.Stable public interface ContainerToken
ContainerToken is the security token used by the framework
to verify authenticity of any Container.
The ResourceManager, on container allocation provides a
secure token which is verified by the NodeManager on
container launch.
Applications do not need to care about ContainerToken, they
are transparently handled by the framework - the allocated
Container includes the ContainerToken.
AMRMProtocol.allocate(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest),
ContainerManager.startContainer(org.apache.hadoop.yarn.api.protocolrecords.StartContainerRequest)| Method Summary | |
|---|---|
ByteBuffer |
getIdentifier()
Get the token identifier. |
String |
getKind()
Get the token kind. |
ByteBuffer |
getPassword()
Get the token password |
String |
getService()
Get the service to which the token is allocated. |
| Method Detail |
|---|
@InterfaceAudience.Public @InterfaceStability.Stable ByteBuffer getIdentifier()
@InterfaceAudience.Public @InterfaceStability.Stable ByteBuffer getPassword()
@InterfaceAudience.Public @InterfaceStability.Stable String getKind()
@InterfaceAudience.Public @InterfaceStability.Stable String getService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||