You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Bo Cui (JIRA)" <ji...@apache.org> on 2017/06/21 06:28:00 UTC
[jira] [Updated] (HBASE-18242) ClientSideRegionScanner#openRegion,
deleted files under regionEncodeName/.tmp
[ https://issues.apache.org/jira/browse/HBASE-18242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bo Cui updated HBASE-18242:
---------------------------
Summary: ClientSideRegionScanner#openRegion, deleted files under regionEncodeName/.tmp (was: Client#openRegion, deleted files under regionEncodeName/.tmp)
> ClientSideRegionScanner#openRegion, deleted files under regionEncodeName/.tmp
> -----------------------------------------------------------------------------
>
> Key: HBASE-18242
> URL: https://issues.apache.org/jira/browse/HBASE-18242
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.10, 1.3.0
> Reporter: Bo Cui
> Priority: Minor
>
> There are two ways to open region:
> 1, RS#openRegion:flush, compact, split, merge, scan, get, etc.
> 2, Client#openRegion: only scan, get
> Either way, all files under /hbase/data/default/TableName/RegionEncodeName/.tmp will be deleted when region is initialized
> For method 2, this should not happen: the client opening region can only read data; there is no possibility of compaction; flush; if RS is processing compact, and client removes the TMP file, the RS needs to be re executed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)