You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Bhuvan Arumugam (JIRA)" <ji...@apache.org> on 2015/10/14 00:18:05 UTC
[jira] [Created] (MESOS-3724) subprocess fail to process "docker
inspect" output if >64KB
Bhuvan Arumugam created MESOS-3724:
--------------------------------------
Summary: 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
When running a task with docker and if {{docker inspect}} output size is more than 64k, it fails. The {{docker inspect}} 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/CPmZy25z
[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)