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

Hudson commented on HBASE-29662:
--------------------------------

Results for branch branch-2.5
        [build #137 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase-Integration-Test/job/branch-2.5/137/]:
 (/) *{color:green}+1 overall{color}*
----
details (if available):



(/) {color:green}+1 client integration test for 2.10.2 {color}


(/) {color:green}+1 client integration test for 3.2.4 {color}


(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.5 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.3.6 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.0 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.1 {color}
(/) {color:green}+1 client integration test for 3.4.1 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.2 {color}
(/) {color:green}+1 client integration test for 3.4.2 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.3 {color}
(/) {color:green}+1 client integration test for 3.4.3 with shaded hadoop 
client{color}


> Reading data via TableSnapshotInputFormat should fail instead of reading no 
> data if restore directory got deleted 
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-29662
>                 URL: https://issues.apache.org/jira/browse/HBASE-29662
>             Project: HBase
>          Issue Type: Bug
>          Components: snapshots
>            Reporter: Ujjawal Kumar
>            Assignee: Prathyusha
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 3.0.0, 3.0.0-beta-2, 2.6.4, 2.5.13
>
>
> We observed an issue in our production where data read via 
> TableSnapshotInputFormat was empty even though the snapshot had actual data. 
> The sequence of events look like this : 
> 1. Snapshot was restored into a temp directory via 
> RestoreSnapshotHelper.copySnapshotForScanner (via 
> TableMapReduceUtil.initTableSnapshotMapperJob)   as part of job submission
> 2. The temp directory was deleted by another process
> 3. Within mapper, HRegion were created on top of temp directory. 
> HRegionFileSystem#checkRegionInfoOnFilesystem was called to check regioninfo, 
> *it didn't find region level directory and recreated an empty one !* 
> Due to this, the MR job didn't read any data but was considered successful. 
> *The correct behavior would be to ensure that mapper fails if temp directory 
> doesn't exist*  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to