[
https://issues.apache.org/jira/browse/HBASE-7351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535549#comment-13535549
]
Vandana Ayyalasomayajula commented on HBASE-7351:
-------------------------------------------------
[~apurtell] I agree that the health checker can be common to both master and
region server. I tried to do something similar to Hadoop, the datanode kills
itself if its unhealthy. In our use case we wanted to the region server also to
shutdown gracefully if something was wrong with the node. In case of the
master, it does not do much of heavy lifting like the region server and also
has a back up master in case it dies. So, I had the health checked chore only
for the region server.
I can move the classes HealthChecker, HealthReport,
RegionServerHealthCheckChore and TestServerHealthChecker one level up and make
them more generic.
> Periodic health check chore
> ---------------------------
>
> Key: HBASE-7351
> URL: https://issues.apache.org/jira/browse/HBASE-7351
> Project: HBase
> Issue Type: Improvement
> Components: regionserver
> Reporter: Vandana Ayyalasomayajula
> Assignee: Vandana Ayyalasomayajula
> Priority: Minor
> Attachments: HBASE-7331_94.patch, HBASE-7331_trunk.patch
>
>
> Similar to MAPREDUCE-211, region server should also have a mechanism to check
> the health of the node. It should run the health check script periodically
> and if there is any errors, it should stop itself gracefully.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira