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 6179B200B9D for ; Thu, 8 Sep 2016 03:32:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 60215160ACF; Thu, 8 Sep 2016 01:32:22 +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 AD908160AC1 for ; Thu, 8 Sep 2016 03:32:21 +0200 (CEST) Received: (qmail 84037 invoked by uid 500); 8 Sep 2016 01:32:20 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 83992 invoked by uid 99); 8 Sep 2016 01:32:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2016 01:32:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 987AF2C1B81 for ; Thu, 8 Sep 2016 01:32:20 +0000 (UTC) Date: Thu, 8 Sep 2016 01:32:20 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5567) Fix script exit code checking in NodeHealthScriptRunner#reportHealthStatus MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Sep 2016 01:32:22 -0000 [ https://issues.apache.org/jira/browse/YARN-5567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15472384#comment-15472384 ] Allen Wittenauer commented on YARN-5567: ---------------------------------------- -1 Please revert this change. The exit code getting ignored is *intentional*. We don't want to bring the nodemanager down in case the script has a syntax error in it. Such a condition would bring down *entire clusters* at once, instantaneously. > Fix script exit code checking in NodeHealthScriptRunner#reportHealthStatus > -------------------------------------------------------------------------- > > Key: YARN-5567 > URL: https://issues.apache.org/jira/browse/YARN-5567 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 2.8.0, 3.0.0-alpha1 > Reporter: Yufei Gu > Assignee: Yufei Gu > Fix For: 3.0.0-alpha1 > > Attachments: YARN-5567.001.patch > > > In case of FAILED_WITH_EXIT_CODE, health status should be false. > {code} > case FAILED_WITH_EXIT_CODE: > setHealthStatus(true, "", now); > break; > {code} > should be > {code} > case FAILED_WITH_EXIT_CODE: > setHealthStatus(false, "", now); > break; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org