hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18398) Snapshot operation fails with FileNotFoundException
Date Thu, 10 Aug 2017 22:09:00 GMT

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

Hudson commented on HBASE-18398:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.3-IT #162 (See [https://builds.apache.org/job/HBase-1.3-IT/162/])
HBASE-18398: Snapshot operation fails with FileNotFoundException (ashu: rev 52c2dcbaa321705df143e1dc9dca28c849f8f9bb)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/snapshot/FlushSnapshotSubprocedure.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Region.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
* (add) hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotManifest.java


> 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: 3.0.0, 1.4.0, 1.3.2, 1.5.0, 2.0.0-alpha-2
>
>         Attachments: HBASE-18398.branch-1.3.001.patch, HBASE-18398.branch-1.3.002.patch,
HBASE-18398.branch-1.3.003.patch, HBASE-18398.master.001.patch, HBASE-18398.master.002.patch,
HBASE-18398.master.003.patch, HBASE-18398.master.004.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
(v6.4.14#64029)

Mime
View raw message