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 <[email protected]> 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: > http://apache-chukwa.679492.n3.nabble.com/my-java-process-not-terminating-if-agent-is-not-started-tp3827370p3827370.html > Sent from the Chukwa - Users mailing list archive at Nabble.com. -- Ari Rabkin [email protected] UC Berkeley Computer Science Department
