incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Rabkin <>
Subject Re: my java process not terminating if agent is not started
Date Fri, 16 Mar 2012 05:05:24 GMT
Hrm.  Is this a bug?  Should the agent-controller thread be a daemon?
I want to say "yes but with a shutdown hook". How does that sound?

Do you feel able to put the patch together and submit it?

On Wed, Mar 14, 2012 at 5:50 PM, Abhijit Dhar <> wrote:
> 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 after 1800000 ms(default) and does 49 retries.
> I think 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.
> Any thoughts?
> Thanks,
> Abhijit
> --
> View this message in context:
> Sent from the Chukwa - Users mailing list archive at

Ari Rabkin
UC Berkeley Computer Science Department

View raw message