Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6612C183E8 for ; Tue, 9 Jun 2015 01:54:01 +0000 (UTC) Received: (qmail 84606 invoked by uid 500); 9 Jun 2015 01:54:01 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 84581 invoked by uid 500); 9 Jun 2015 01:54:01 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 84571 invoked by uid 99); 9 Jun 2015 01:54:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 01:54:01 +0000 Date: Tue, 9 Jun 2015 01:54:01 +0000 (UTC) From: "Benjamin Mahler (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MESOS-2787) mesos-ps fails with "KeyError: 'mem_rss_bytes'" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Mahler updated MESOS-2787: ----------------------------------- Shepherd: Benjamin Mahler > 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 > 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)