[ 
https://issues.apache.org/jira/browse/MESOS-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bhuvan Arumugam reassigned MESOS-3724:
--------------------------------------

    Assignee: Bhuvan Arumugam

> subprocess fail to process "docker inspect" output if >64KB
> -----------------------------------------------------------
>
>                 Key: MESOS-3724
>                 URL: https://issues.apache.org/jira/browse/MESOS-3724
>             Project: Mesos
>          Issue Type: Bug
>          Components: slave
>    Affects Versions: 0.21.1
>            Reporter: Bhuvan Arumugam
>            Assignee: Bhuvan Arumugam
>
> When running a task with docker and if {{docker inspect}} output size is more 
> than 64k, it fails. The command {{docker inspect}} is blocked. The task 
> remain in ASSIGNED state and after 15mins, the task is KILLED. The subprocess 
> library [1] used in mesos to run this command is not handling the output 
> beyond this size.
> {code}
> docker pull livecipher/mesos-docker-inspect-64k:1.0 > /dev/null && docker 
> inspect livecipher/mesos-docker-inspect-64k:1.0 > inspect.out && du -sh 
> inspect.out && rm -f inspect.out
>  76K  inspect.out
> {code}
> You can reproduce it using the above image with any framework. I tested it 
> with aurora.
> Here is a sample failure: http://pastebin.com/w1Ty41rb
> [1] https://github.com/apache/mesos/blob/0.21.1/src/docker/docker.cpp#L804



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

Reply via email to