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

Eric Yang commented on YARN-8523:
---------------------------------

[~jlowe] Fair point.  Without using node manager path, we still need another 
node manager equivalent agent to relay the commands.  One alternate solution is 
to relay instruction from application master of YARN service directly to docker 
daemon.  The down side is the security model may become harder to enforce 
because we dig another tunnel into root daemon.  Giving that we have invested 
quite a bit in security check in container-executor, reuse our investment is 
probably better than carving the alternate path.  Same problem also exists if 
docker daemon is restarted, it could interrupt docker exec as well.  This 
unavoidable circumstances may not be solvable.  Hence, I am  ok with this draw 
back, but keeping an open mind for possible solutions.

> Interactive docker shell
> ------------------------
>
>                 Key: YARN-8523
>                 URL: https://issues.apache.org/jira/browse/YARN-8523
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Eric Yang
>            Priority: Major
>              Labels: Docker
>
> Some application might require interactive unix commands executions to carry 
> out operations.  Container-executor can interface with docker exec to debug 
> or analyze docker containers while the application is running.  It would be 
> nice to support an API to invoke docker exec to perform unix commands and 
> report back the output to application master.  Application master can 
> distribute and aggregate execution of the commands to record in application 
> master log file.



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

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

Reply via email to