Return-Path: X-Original-To: apmail-incubator-chukwa-dev-archive@www.apache.org Delivered-To: apmail-incubator-chukwa-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 99E839FF6 for ; Sun, 22 Apr 2012 21:49:57 +0000 (UTC) Received: (qmail 54697 invoked by uid 500); 22 Apr 2012 21:49:57 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 54669 invoked by uid 500); 22 Apr 2012 21:49:57 -0000 Mailing-List: contact chukwa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@incubator.apache.org Delivered-To: mailing list chukwa-dev@incubator.apache.org Received: (qmail 54661 invoked by uid 99); 22 Apr 2012 21:49:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2012 21:49:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2012 21:49:56 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2041D409979 for ; Sun, 22 Apr 2012 21:49:35 +0000 (UTC) Date: Sun, 22 Apr 2012 21:49:35 +0000 (UTC) From: "Hudson (JIRA)" To: chukwa-dev@incubator.apache.org Message-ID: <1913023597.3206.1335131376363.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1559119906.30828.1334617456287.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CHUKWA-640) JVM not terminating if agent is not started MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CHUKWA-640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259275#comment-13259275 ] Hudson commented on CHUKWA-640: ------------------------------- Integrated in Chukwa-trunk #443 (See [https://builds.apache.org/job/Chukwa-trunk/443/]) CHUKWA-640. Use timer thread to schedule adatpor registration. (Abhijit Dhar via Eric Yang) (Revision 1328977) Result = SUCCESS eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1328977 Files : * /incubator/chukwa/trunk/CHANGES.txt > JVM not terminating if agent is not started > ------------------------------------------- > > Key: CHUKWA-640 > URL: https://issues.apache.org/jira/browse/CHUKWA-640 > Project: Chukwa > Issue Type: Bug > Components: Data Collection > Affects Versions: 0.5.0 > Reporter: Abhijit Dhar > Assignee: Abhijit Dhar > Attachments: patch2.txt > > > I am seeing that if my agents are not up, it is preventing my program to terminate. > I'm using ChukwaDailyRollingFileAppender. > I debugged and found that ChukwaAgentController tries to retry and schedules to create a new adapter. > Since it is not a daemon thread, my program just keeps waiting for all these retry scheduled threads to finish even after my main method finishes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira