chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Boulon (JIRA)" <>
Subject [jira] Commented: (CHUKWA-5) AdaptorId should be persistent even after an agent restart
Date Thu, 07 May 2009 21:40:45 GMT


Jerome Boulon commented on CHUKWA-5:

I come back with my MD5, ..., if we're doing an MD5 of the command  it should be unique and
that could be the name from our log4j Appender (automatically done for you) and from the command
line user are still free to put a more descriptive name.

> AdaptorId should be persistent even after an agent restart
> ----------------------------------------------------------
>                 Key: CHUKWA-5
>                 URL:
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: data collection
>            Reporter: Jerome Boulon
>            Assignee: Cheng
> In case of agent restart, an adaptor may not get the same adaptorId. 
> 1)The adaptorId is sent back to the remote application after the Add command.
> Now, let suppose the agent dies and restarts. 
> Each new adaptor created from the checkpoint will now have another adaptorId
> . 
> If the remote application tries to stop/shutdown only using the adaptorId received in
step (1), the command may be sent to the wrong adaptor.
> if the adaptorId in for example an MD5 of the command line we don't need to save any
additional information inside the checkpoint.
> This will change the current API from int to String.

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

View raw message