Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0607818EA9 for ; Mon, 27 Jul 2015 09:34:12 +0000 (UTC) Received: (qmail 2850 invoked by uid 500); 27 Jul 2015 09:34:04 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 2828 invoked by uid 500); 27 Jul 2015 09:34:04 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 2771 invoked by uid 99); 27 Jul 2015 09:34:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2015 09:34:04 +0000 Date: Mon, 27 Jul 2015 09:34:04 +0000 (UTC) From: "Dmytro Sen (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-12548) Ambari Agent does not register / heartbeat if "df" command hangs 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/AMBARI-12548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmytro Sen updated AMBARI-12548: -------------------------------- Attachment: AMBARI-12548.patch > Ambari Agent does not register / heartbeat if "df" command hangs > ---------------------------------------------------------------- > > Key: AMBARI-12548 > URL: https://issues.apache.org/jira/browse/AMBARI-12548 > Project: Ambari > Issue Type: Bug > Components: ambari-agent > Affects Versions: 2.1.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Critical > Fix For: 2.1.1 > > Attachments: AMBARI-12548.patch > > > The agent executes the "df" command when it starts up. > In rare scenarios, this command can hang (can even hanging for several days without any timeout). When this happens the agent won't move forward to the process of registration, etc. > There's an ambari-server property called agent.check.mounts.timeout. This can be defined to force a timeout. > However, we should always have a default timeout on the agent script side, even if this property is not defined to avoid a situation where the agent is completely hung. -- This message was sent by Atlassian JIRA (v6.3.4#6332)