[ 
https://issues.apache.org/jira/browse/HADOOP-5360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679011#action_12679011
 ] 

Jerome Boulon commented on HADOOP-5360:
---------------------------------------

Instead of having so many variables like LOG_DIR, PID_DIR and so on can you 
define CHUKWA_DATA and get all the others variables defined relative to either 
CHUKWA_HOME, CHUKWA_CONF or CHUKWA_DATA. That way Chukwa configuration will be 
much simpler.

CHUKWA_HOME contains all binaries
CHUKWA_CONF contains all config files
CHUKWA_DATA. contains all Chukwa's output

ex :
- log files ${CHUKWA_DATA}/var/log
- pid files ${CHUKWA_DATA}/var/run
- etc

if CHUKWA_DATA or  CHUKWA_CONF are undefined they should default back to 
CHUKWA_HOME/data resp. CHUKWA_HOME/conf

> Move from cronjob based watchdog for Chukwa Agent and System metrics to 
> daemon tools startup script
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5360
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5360
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat EL 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Minor
>         Attachments: HADOOP-5360.patch
>
>
> Instead of waiting one minute for cron job based watchdog to check the pid 
> file and determine if the process is running.  Netops request this to be 
> changed to use deamon tools to improve the uptime of chukwa agent and system 
> metrics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to