You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/12/05 18:40:58 UTC

[jira] [Commented] (HBASE-16314) Retry on table snapshot failure

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

Ted Yu commented on HBASE-16314:
--------------------------------

{code}
551	        LOG.warn("Snapshot attempt " + attempts + " failed for table " + tableName
552	            + ", sleeping for " + delay + "ms", ee);
553	        if (attempts < maxAttempts) {
{code}
If attempts == maxAttempts, the log message is not accurate - there would be no sleep.

> Retry on table snapshot failure
> -------------------------------
>
>                 Key: HBASE-16314
>                 URL: https://issues.apache.org/jira/browse/HBASE-16314
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>             Fix For: HBASE-7912
>
>         Attachments: HBASE-16314-v1.patch, HBASE-16314-v2.patch, HBASE-16314-v3.patch, HBASE-16314-v4.patch
>
>
> Table snapshot (during full backup) can fail with NotServingRegionException (splits, AM region moves). We need to add retry logic here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)