You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Eli Collins (Commented) (JIRA)" <ji...@apache.org> on 2011/11/04 23:59:51 UTC

[jira] [Commented] (HADOOP-7788) HA: Simple HealthMonitor class to watch an HAService

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

Eli Collins commented on HADOOP-7788:
-------------------------------------

Nit, I'd have the first state be SERVICE_HEALTH_UNKNOWN rather than INITIALIZING so the value of state always refers to the state of the service being monitored.

Otherwise +1, looks good.
                
> HA: Simple HealthMonitor class to watch an HAService
> ----------------------------------------------------
>
>                 Key: HADOOP-7788
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7788
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-2524.txt
>
>
> This is a utility class which will be part of the FailoverController. The class starts a daemon thread which periodically monitors an HAService, calling its monitorHealth function. It then generates callbacks into another class when the health status changes (eg the RPC fails or the service returns a HealthCheckFailedException)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira