[
https://issues.apache.org/jira/browse/CHUKWA-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Yang updated CHUKWA-58:
----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Thanks Ari, I just committed this.
> Watchdog is using $CHUKWA_HOME while PidFile.java is using CHUKWA_PID_DIR
> -------------------------------------------------------------------------
>
> Key: CHUKWA-58
> URL: https://issues.apache.org/jira/browse/CHUKWA-58
> Project: Hadoop Chukwa
> Issue Type: Bug
> Reporter: Jerome Boulon
> Assignee: Eric Yang
> Priority: Blocker
> Attachments: CHUKWA-58.patch
>
>
> PidFile is using this logic to found where to create the pid file.
> String chukwaPath = System.getProperty("CHUKWA_HOME");
> StringBuffer pidFilesb = new StringBuffer();
> String pidDir = System.getenv("CHUKWA_PID_DIR");
> if (pidDir == null) {
> pidDir = chukwaPath + File.separator + "var" + File.separator + "run";
> }
> Watchdog should do something similar instead of using CHUKWA_HOME.
> Also, watchdog is difficult to maintain so will be good to create one
> function that is doing all the necessary steps
> and call that function for all processes that watchdog should watch for.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.