Paul Brett created MESOS-3252:
---------------------------------

             Summary: Ignore no statistics condition for containers with no 
qdisc
                 Key: MESOS-3252
                 URL: https://issues.apache.org/jira/browse/MESOS-3252
             Project: Mesos
          Issue Type: Bug
          Components: isolation
            Reporter: Paul Brett


In PortMappingStatistics::execute, we log the following errors to stderr if the 
egress rate limiting qdiscs are not configured inside the container.

{code}
Failed to get the network statistics for the htb qdisc on eth0
Failed to get the network statistics for the fq_codel qdisc on eth0
{code}

This can occur because of an error reading the qdisc (statistics function 
return an error) or because the qdisc does not exist (function returns none).  

We should not log an error when the qdisc does not exist since this is normal 
behaviour if the container is created without rate limiting.  We do not want to 
gate this function on the slave rate limiting flag since we would have to 
compare the behaviour against the flag value at the time the container was 
created.



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

Reply via email to