hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2524) HA: Simple HealthMonitor class to watch an HAService
Date Tue, 01 Nov 2011 01:46:39 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Todd Lipcon updated HDFS-2524:
------------------------------

    Attachment: hdfs-2524.txt

Here's a basic implementation. It includes a unit test as well as a "main" function which
I used to test against a NN.
                
> HA: Simple HealthMonitor class to watch an HAService
> ----------------------------------------------------
>
>                 Key: HDFS-2524
>                 URL: https://issues.apache.org/jira/browse/HDFS-2524
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: HA branch (HDFS-1623)
>            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

        

Mime
View raw message