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

nkeywal updated HBASE-5939:
---------------------------

    Attachment: 5939.v4.patch
    
> Add an autorestart option in the start scripts
> ----------------------------------------------
>
>                 Key: HBASE-5939
>                 URL: https://issues.apache.org/jira/browse/HBASE-5939
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, regionserver, scripts
>    Affects Versions: 0.96.0
>            Reporter: nkeywal
>            Assignee: nkeywal
>            Priority: Minor
>             Fix For: 0.96.0
>
>         Attachments: 5939.v4.patch
>
>
> When a binary dies on a server, we don't try to restart it while it would be 
> possible in most cases.
> We can have something as:
> loop
>  start
>  wait
>  if cleanStop then exit
>  if already stopped less than 5 minutes ago sleep 1 minute
> endloop
> This is simple for master & backup master, a little bit more complex for the 
> region server as it can be stopped by a script or by the shutdown procedure.
> On a long long term it could allow a restart with exactly the same 
> assignments.

--
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

        

Reply via email to