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 06EAA9BB5 for ; Mon, 25 Jun 2012 01:06:44 +0000 (UTC) Received: (qmail 95898 invoked by uid 500); 25 Jun 2012 01:06:44 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 95823 invoked by uid 500); 25 Jun 2012 01:06:43 -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 95802 invoked by uid 99); 25 Jun 2012 01:06:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 01:06:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BEB8E1418F1 for ; Mon, 25 Jun 2012 01:06:43 +0000 (UTC) Date: Mon, 25 Jun 2012 01:06:43 +0000 (UTC) From: "Eric Yang (JIRA)" To: chukwa-dev@incubator.apache.org Message-ID: <1613752648.49521.1340586403789.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1559119906.30828.1334617456287.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (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 [ https://issues.apache.org/jira/browse/CHUKWA-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Yang reopened CHUKWA-640: ------------------------------ > 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