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

Andrew Purtell commented on HBASE-7351:
---------------------------------------

Yes the v1 0.94 patch looks good, except for the occasional missing trivial 
s/region// . Ideally there could be one simple unit test to confirm the 
HealthChecker works as advertised. I was just thinking about this: a very small 
value for "hbase.node.health.script.timeout" with a shell script that sleeps 
too long, a script that is 'exit -1', a missing script (fails with exception), 
and finally a script that is 'exit 0'. What do you think?
                
> 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_1.patch, 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

Reply via email to