Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B234DAD1 for ; Tue, 14 May 2013 18:01:22 +0000 (UTC) Received: (qmail 33288 invoked by uid 500); 14 May 2013 18:01:21 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 33267 invoked by uid 500); 14 May 2013 18:01:21 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 33257 invoked by uid 99); 14 May 2013 18:01:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 18:01:21 +0000 Date: Tue, 14 May 2013 18:01:21 +0000 (UTC) From: "Siddharth Wagle (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-2127) Service check should not emit log with Exceptions considering its a positive scenario 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-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657293#comment-13657293 ] Siddharth Wagle commented on AMBARI-2127: ----------------------------------------- +1 LGTM > Service check should not emit log with Exceptions considering its a positive scenario > ------------------------------------------------------------------------------------- > > Key: AMBARI-2127 > URL: https://issues.apache.org/jira/browse/AMBARI-2127 > Project: Ambari > Issue Type: Bug > Affects Versions: 1.3.0 > Reporter: Sumit Mohanty > Assignee: Sumit Mohanty > Fix For: 1.3.0 > > Attachments: AMBARI-2127.patch > > > When a service check is run logs of the following form is emitted. Considering its a positive scenario the exception should not be logged. > {noformat} > 17:16:21,438 INFO ActionScheduler:398 - Not a service component, assuming its an action > org.apache.ambari.server.ServiceComponentNotFoundException: ServiceComponent not found, clusterName=cl1, serviceName=OOZIE, serviceComponentName=OOZIE_SERVICE_CHECK > at org.apache.ambari.server.state.ServiceImpl.getServiceComponent(ServiceImpl.java:212) > at org.apache.ambari.server.actionmanager.ActionScheduler.scheduleHostRole(ActionScheduler.java:393) > at org.apache.ambari.server.actionmanager.ActionScheduler.doWork(ActionScheduler.java:184) > at org.apache.ambari.server.actionmanager.ActionScheduler.run(ActionScheduler.java:109) > at java.lang.Thread.run(Thread.java:662) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira