You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Kevin Klues (JIRA)" <ji...@apache.org> on 2016/12/07 03:38:58 UTC

[jira] [Commented] (MESOS-6470) Support TTY in IOSwitchboard.

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

Kevin Klues commented on MESOS-6470:
------------------------------------

{noformat}
commit d90ea53891c5319d91ebcd797e5291d45f6159a2
Author: Kevin Klues <kl...@gmail.com>
Date:   Mon Dec 5 09:40:24 2016 -0800

    Added `setWindowSize()` to stout for setting a TTY's window size.
    
    Review: https://reviews.apache.org/r/54344/
{noformat}

> Support TTY in IOSwitchboard.
> -----------------------------
>
>                 Key: MESOS-6470
>                 URL: https://issues.apache.org/jira/browse/MESOS-6470
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Kevin Klues
>            Assignee: Jie Yu
>              Labels: debugging, mesosphere
>             Fix For: 1.2.0
>
>
> The idea is to let IOSwitchboard isolator to allocate the pty. The master end will be sent to the IOSwitchboard server while the slavePath will be sent to launch.cpp. launch.cpp will perform login_tty to set the control terminal of the process to the allocated tty. We probably don't want to use login_tty directly because it'll create a new session which is not necessary.
> It is unclear if this will need to be added to {{launch.cpp}} so that a pty is allocated at the time that a task is first launched. Or if it makes sense to only allow {{pty}} allocation on-the-fly as we attach to a process (in which case it will need to be the responsibility of the logger in our new model).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)