You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Cheng (JIRA)" <ji...@apache.org> on 2009/04/09 21:26:13 UTC
[jira] Assigned: (CHUKWA-98) PidFile issue
[ https://issues.apache.org/jira/browse/CHUKWA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng reassigned CHUKWA-98:
---------------------------
Assignee: Cheng
> PidFile issue
> -------------
>
> Key: CHUKWA-98
> URL: https://issues.apache.org/jira/browse/CHUKWA-98
> Project: Hadoop Chukwa
> Issue Type: Bug
> Reporter: Jerome Boulon
> Assignee: Cheng
> Priority: Blocker
> Attachments: chukwa-98.patch
>
>
> Some processes like Collectors, demuxManager, etc have to be able to exit if they have to.
> In that case, watchdog will not restart them since the shutdown hook will have done the cleanup.
> pFile = new PidFile("Agent");
> Runtime.getRuntime().addShutdownHook(pFile);
> pFile = new PidFile("Collector");
> Runtime.getRuntime().addShutdownHook(pFile);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.