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

Phabricator commented on HBASE-4661:
------------------------------------

madhuvaidya has commented on the revision "[jira] [HBASE-4661] get list of 
store files.".

INLINE COMMENTS
  src/main/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java:88 In the 
backup code we used this API (with regionName which is the full name). Not sure 
- maybe we could deprecate the other API.
  src/main/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java:118 We used 
it at this granularity since we scheduled one map task per region for taking a 
backup of the table.
  src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:2169 
The flush happens inline. (It's a blocking call)
  src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:2189 
The lastFlushTime is set when the region is initialized which is equivalent to 
a flush for our purpose. In each map task - we flush a region before asking for 
the list of store files to backup. We want to protect against the case when a 
flush goes through, but the map task fails, in which case a flush would be 
scheduled again if we didn't check lastFlushTime > backupStartTime.

REVISION DETAIL
  https://reviews.facebook.net/D729

                
> Ability to export the list of files for a some or all column families for a 
> given region
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-4661
>                 URL: https://issues.apache.org/jira/browse/HBASE-4661
>             Project: HBase
>          Issue Type: Sub-task
>          Components: documentation, regionserver
>            Reporter: Karthik Ranganathan
>            Assignee: Madhuwanti Vaidya
>
> Should be able to query the regionservers to figure out the list of files in 
> one/some/all column families for a given regions to determine which files to 
> copy for a backup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to