[
https://issues.apache.org/jira/browse/YARN-8778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650922#comment-16650922
]
Eric Yang edited comment on YARN-8778 at 10/15/18 10:58 PM:
------------------------------------------------------------
Patch 001 implements:
# Use jline for cli terminal emulation.
# Moved SPNEGO token generator to YarnClientUtils.
# Implemented SPNEGO token header for web socket authentication.
# Implemented client side web socket handling to jline virtual terminal.
# Implemented usage screen for container -shell option.
{code}
yarn container -shell <container-id>
{code}
I am using Jline 3 to emulate terminal IO streams. Jline 3 is converted to BSD
license, hence it becomes possible to be included in Hadoop.
was (Author: eyang):
Patch 001 implements:
# Use jline for cli terminal emulation.
# Moved SPNEGO token generator to YarnClientUtils.
# Implemented client side web socket handling to jline virtual terminal.
# Implemented usage screen for container -shell option.
{code}
yarn container -shell <container-id>
{code}
I am using Jline 3 to emulate terminal IO streams. Jline 3 is converted to BSD
license, hence it becomes possible to be included in Hadoop.
> Add Command Line interface to invoke interactive docker shell
> -------------------------------------------------------------
>
> Key: YARN-8778
> URL: https://issues.apache.org/jira/browse/YARN-8778
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Zian Chen
> Assignee: Eric Yang
> Priority: Major
> Labels: Docker
> Attachments: YARN-8778.001.patch
>
>
> CLI will be the mandatory interface we are providing for a user to use
> interactive docker shell feature. We will need to create a new class
> “InteractiveDockerShellCLI” to read command line into the servlet and pass
> all the way down to docker executor.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]