You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2015/08/12 19:21:46 UTC

[jira] [Updated] (MESOS-3252) Ignore no statistics condition for containers with no qdisc

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

Jie Yu updated MESOS-3252:
--------------------------
          Sprint: Twitter Mesos Q3 Sprint 3
    Story Points: 2

> 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)