Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8762 [Umbrella] Support Interactive Docker Shell to running Containers
  3. YARN-8763

Add WebSocket logic to the Node Manager web server to establish servlet

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None

    Description

      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,

      1. 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.
      2. Full-duplex communication — client and server can talk to each other independently at the same time
      3. 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 connection

      Attachments

        1. YARN-8763.002.patch
          17 kB
          Zian Chen
        2. YARN-8763.003.patch
          37 kB
          Zian Chen
        3. YARN-8763.004.patch
          36 kB
          Zian Chen
        4. YARN-8763.005.patch
          36 kB
          Zian Chen
        5. YARN-8763-001.patch
          9 kB
          Zian Chen

        Activity

          People

            Zian Chen Zian Chen
            Zian Chen Zian Chen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: