You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2015/06/09 03:54:00 UTC

[jira] [Updated] (MESOS-2787) mesos-ps fails with "KeyError: 'mem_rss_bytes'"

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

Benjamin Mahler updated MESOS-2787:
-----------------------------------
    Summary: mesos-ps fails with "KeyError: 'mem_rss_bytes'"  (was: The exception "KeyError: 'mem_rss_bytes'" is being raised when run command mesos ps --master=<> )

{noformat}
commit 799a3c929a2b8a92b22a92022b0d229d677cac2c
Author: weitao zhou <zh...@gmail.com>
Date:   Mon Jun 8 18:51:37 2015 -0700

    Fixed a KeyError exception in mesos-ps.

    Review: https://reviews.apache.org/r/34886
{noformat}

> mesos-ps fails with "KeyError: 'mem_rss_bytes'"
> -----------------------------------------------
>
>                 Key: MESOS-2787
>                 URL: https://issues.apache.org/jira/browse/MESOS-2787
>             Project: Mesos
>          Issue Type: Bug
>          Components: cli, python api, slave, statistics
>    Affects Versions: 0.21.1, 0.22.0, 0.22.1
>         Environment: ubuntu 14.04, mesos 0.21.1
>            Reporter: weitao zhou
>            Assignee: weitao zhou
>              Labels: easyfix, patch
>             Fix For: 0.23.0
>
>
> When I run the command *mesos ps --master=$MESOS-MASTER:5050*, the following exception raised:
> {code: title=exception.sh}
> File "/usr/bin/mesos-ps", line 232, in <module>
>     main()
>   File "/usr/bin/mesos-ps", line 217, in main
>     sys.stdout.write(columns[4].truncate(mem(task, statistics)))
>   File "/usr/bin/mesos-ps", line 93, in mem
>     mem_rss_bytes = entry['statistics']['mem_rss_bytes']
> KeyError: 'mem_rss_bytes'
> {code}
> I tracked it and found that some mesos slave nodes can't return the statistics yet now. In my special case, the disk volumn of some my mesos slaves is 100% full.



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