hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-8763) Add WebSocket logic to the Node Manager web server to establish servlet
Date Thu, 04 Oct 2018 21:39:00 GMT

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

Eric Yang commented on YARN-8763:

[~Zian Chen] +1 on patch 4.  One small improvement that we can do it here or in YARN-8838,
It would be great to accept application ID in the URL for security validation, hence we can
locate yarn local dir on host system to match the remote user with container directory owner
to prevent other users from access the container.

> Add WebSocket logic to the Node Manager web server to establish servlet
> -----------------------------------------------------------------------
>                 Key: YARN-8763
>                 URL: https://issues.apache.org/jira/browse/YARN-8763
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Zian Chen
>            Assignee: Zian Chen
>            Priority: Major
>              Labels: Docker
>         Attachments: YARN-8763-001.patch, YARN-8763.002.patch, YARN-8763.003.patch, YARN-8763.004.patch
> The reason we want to use WebSocket servlet to serve the backend instead of establishing
the connection through HTTP is that WebSocket solves a few issues with HTTP which needed for
our scenario,
>  # In HTTP, the request is always initiated by the client and the response is processed
by the server — making HTTP a unidirectional protocol, while web socket provides the
Bi-directional protocol which means either client/server can send a message to the other party.
>  # Full-duplex communication — client and server can talk to each other independently
at the same time
>  # Single TCP connection — After upgrading the HTTP connection in the beginning,
client and server communicate over that same TCP connection throughout the lifecycle of WebSocket

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message