Class ContainerShellWebSocket

java.lang.Object
org.apache.hadoop.yarn.client.api.ContainerShellWebSocket

@LimitedPrivate({"HDFS","MapReduce","YARN"}) @Unstable @WebSocket public class ContainerShellWebSocket extends Object
Web socket for establishing interactive command shell connection through Node Manage to container executor.
  • Constructor Details

    • ContainerShellWebSocket

      public ContainerShellWebSocket()
  • Method Details

    • onText

      @OnWebSocketMessage public void onText(org.eclipse.jetty.websocket.api.Session session, String message) throws IOException
      Throws:
      IOException
    • onConnect

      @OnWebSocketConnect public void onConnect(org.eclipse.jetty.websocket.api.Session s)
    • onClose

      @OnWebSocketClose public void onClose(org.eclipse.jetty.websocket.api.Session session, int status, String reason)
    • run

      public void run()
    • initTerminal

      protected void initTerminal(org.eclipse.jetty.websocket.api.Session session)