hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18398) Snapshot operation fails with FileNotFoundException
Date Wed, 09 Aug 2017 08:29:01 GMT

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

ramkrishna.s.vasudevan commented on HBASE-18398:

I can see that startRegionOperation(Operation) was already available in Region. So that makes
sense to add closeRegionOperation(Operation). If you feel startRegionOperation() is not needed,
then we can  mark it deprecated now because there is a clean up now going on. Tat is any not
part of this JIRA though.

> Snapshot operation fails with FileNotFoundException
> ---------------------------------------------------
>                 Key: HBASE-18398
>                 URL: https://issues.apache.org/jira/browse/HBASE-18398
>             Project: HBase
>          Issue Type: Sub-task
>          Components: snapshots
>            Reporter: Ashu Pachauri
>            Assignee: Ashu Pachauri
>             Fix For: 1.3.2
>         Attachments: HBASE-18398.branch-1.3.001.patch, HBASE-18398.branch-1.3.002.patch,
HBASE-18398.master.001.patch, HBASE-18398.master.002.patch, HBASE-18398.master.003.patch
> Failing to take snapshot due to FileNotFoundException
>     * FlushSnapshotSubprocedure.RegionSnapshotTask takes a region level read lock
>     * Call to HRegion#addRegionToSnapshot.
>     * Call to SnapshotManifest#addRegion. This gets the current list of store files.
>     * RACE → File is marked as compacted away and HFileArchiver moves the file to archive
under store level lock.
>     * SnapshotManifest#addRegion visits the stale list of store files one by one. It
does a file.getStatus() call to get length of each file. Since the file object still points
to the original file, file.getStatus() fails with FileNotFoundException.

This message was sent by Atlassian JIRA

View raw message