You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "churro morales (JIRA)" <ji...@apache.org> on 2016/02/23 18:39:18 UTC

[jira] [Resolved] (HBASE-11352) When HMaster starts up it deletes the tmp snapshot directory, if you are exporting a snapshot at that time the job will fail

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

churro morales resolved HBASE-11352.
------------------------------------
    Resolution: Not A Problem

In newer versions of HBase you can just select the skipTmp option when Exporting Snapshots this will resolve this issue.

> When HMaster starts up it deletes the tmp snapshot directory, if you are exporting a snapshot at that time the job will fail
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-11352
>                 URL: https://issues.apache.org/jira/browse/HBASE-11352
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.19
>            Reporter: churro morales
>         Attachments: HBASE-11352-0.94.patch, HBASE-11352-v2.0.94.patch
>
>
> We are exporting a very large table.  The export snapshot job takes 7+ days to complete.  During that time we had to bounce HMaster.  When HMaster initializes, it initializes the SnapshotManager which subsequently deletes the .tmp directory.
> If this happens while the ExportSnapshot job is running the reference files get removed and the job fails.
> Maybe we could put some sort of token such that when this job is running HMaster wont reset the tmp directory.



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