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

haosdent commented on MESOS-3549:
---------------------------------

You could use "export GLOG_v=1", and then executor would print docker command 
in log.

> Log docker commands
> -------------------
>
>                 Key: MESOS-3549
>                 URL: https://issues.apache.org/jira/browse/MESOS-3549
>             Project: Mesos
>          Issue Type: Bug
>          Components: docker, slave
>            Reporter: Ian Babrou
>
> Command executor logs command it is about to run to stdout, this is really 
> handy if things break:
> {noformat}
> Registered executor on 36com33.in.cfops.it
> Starting task sleepy.7c95443e-6697-11e5-9c9e-2c600c83f269
> sh -c 'echo $PORT && sleep 3600'
> Forked command at 1887
> 8921
> {noformat}
> Docker executor doesn't do anything like this. In fact, I often find myself 
> looking at ps, strace or any other similar tool output to see what command 
> was actually used to run the container. Seeing this in sandbox can save me 
> and possibly other people time figuring out what is wrong with their tasks.



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

Reply via email to