hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashu Pachauri (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18398) Snapshot operation fails with FileNotFoundException
Date Mon, 17 Jul 2017 21:37:00 GMT
Ashu Pachauri created HBASE-18398:

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

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