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

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

[~Zian Chen] # Without step 2 session management, the terminal session will 
terminate with Connection Closed when node manager restarts.  User can retry 
with browser reload to obtain a new session.  I think web socket connection is 
reliable enough to keep the connection alive.  If it drops, user can always get 
a new session of docker exec.

# There is nothing to handle on node manager shutdown or crash because remote 
connection closed will be displayed to browser.


> 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