Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 82082200BFB for ; Wed, 11 Jan 2017 21:18:18 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 80DDA160B4E; Wed, 11 Jan 2017 20:18:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2672160B50 for ; Wed, 11 Jan 2017 21:18:17 +0100 (CET) Received: (qmail 53352 invoked by uid 500); 11 Jan 2017 20:18:16 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 53320 invoked by uid 99); 11 Jan 2017 20:18:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2017 20:18:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8DD862C029B for ; Wed, 11 Jan 2017 20:18:16 +0000 (UTC) Date: Wed, 11 Jan 2017 20:18:16 +0000 (UTC) From: "Joshua Cohen (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AURORA-1878) Increased executor logs can lead to task's running out of disk space MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 11 Jan 2017 20:18:18 -0000 [ https://issues.apache.org/jira/browse/AURORA-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshua Cohen reassigned AURORA-1878: ------------------------------------ Assignee: Joshua Cohen > Increased executor logs can lead to task's running out of disk space > -------------------------------------------------------------------- > > Key: AURORA-1878 > URL: https://issues.apache.org/jira/browse/AURORA-1878 > Project: Aurora > Issue Type: Task > Components: Executor > Reporter: Joshua Cohen > Assignee: Joshua Cohen > > After the health check for updates patch, this log statement is being emitted once every 500ms: https://github.com/apache/aurora/commit/2992c8b4#diff-6d60c873330419a828fb992f46d53372R121 > This is due to this [code|https://github.com/apache/aurora/blob/master/src/main/python/apache/aurora/executor/common/status_checker.py#L120-L124]: > {code} > if status_result is not None: > log.info('%s reported %s' % (status_checker.__class__.__name__, status_result)) > {code} > Previously, {{status_result}} would be {{None}} unless the status checker had a terminal event. Now, {{status_result}} will always be set, but we only consider the {{status_result}} to be terminal if the {{status}} is not {{TASK_STARTING}} or {{TASK_RUNNING}}. So, for the healthy case, we log that the task is {{TASK_RUNNING}} every 500ms. > !https://frinkiac.com/meme/S10E02/818984.jpg?b64lines=IFRISVMgV0lMTCBTT1VORCBFVkVSWQogVEhSRUUgU0VDT05EUyBVTkxFU1MKIFNPTUVUSElORyBJU04nVCBPS0FZIQ==! -- This message was sent by Atlassian JIRA (v6.3.4#6332)