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 4F9E7200BAD for ; Tue, 11 Oct 2016 03:18:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4DF80160AEB; Tue, 11 Oct 2016 01:18:23 +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 BA89B160AE1 for ; Tue, 11 Oct 2016 03:18:22 +0200 (CEST) Received: (qmail 15046 invoked by uid 500); 11 Oct 2016 01:18:22 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 15028 invoked by uid 99); 11 Oct 2016 01:18:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2016 01:18:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D0E872C0059 for ; Tue, 11 Oct 2016 01:18:21 +0000 (UTC) Date: Tue, 11 Oct 2016 01:18:21 +0000 (UTC) From: "Ranjan Banerjee (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-18502) Logging of ambari agent scheduling activities in debug mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 11 Oct 2016 01:18:23 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15564089#comment-15564089 ] Ranjan Banerjee commented on AMBARI-18502: ------------------------------------------ [~smnaha] Made the change > Logging of ambari agent scheduling activities in debug mode > ----------------------------------------------------------- > > Key: AMBARI-18502 > URL: https://issues.apache.org/jira/browse/AMBARI-18502 > Project: Ambari > Issue Type: Bug > Components: ambari-agent > Affects Versions: trunk > Reporter: Ranjan Banerjee > Priority: Minor > Labels: ambari-agent > Fix For: trunk > > Attachments: AMBARI-18502.patch, AMBARI-18502.patch > > > We find lots of stale alerts in Ambari. On digging deeper from the Ambari-agent logs it is found that there were many services that missed the triggering window, but no insight as to why it is missed. The aim of this is to add some debug logs on two steps primarily: > 1)When the scheduler iterates through the jobstore and decides it is time to schedule the job. > 2)The threadpool, being forked and executing the callback function -- This message was sent by Atlassian JIRA (v6.3.4#6332)