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-18024) HRegion#initializeRegionInternals should not re-create .hregioninfo file when the region directory no longer exists
Date Fri, 11 Aug 2017 05:43:00 GMT

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

Hudson commented on HBASE-18024:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #3510 (See [https://builds.apache.org/job/HBase-Trunk_matrix/3510/])
HBASE-18024 HRegion#initializeRegionInternals should not re-create (esteban: rev efd211debd8a37f215b1a6fdb982aa3ca890bc40)
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionOpen.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestWALMonotonicallyIncreasingSeqId.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreFileRefresherChore.java


> HRegion#initializeRegionInternals should not re-create .hregioninfo file when the region
directory no longer exists
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-18024
>                 URL: https://issues.apache.org/jira/browse/HBASE-18024
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment, regionserver
>    Affects Versions: 2.0.0, 1.4.0, 1.3.1, 1.2.5
>            Reporter: Esteban Gutierrez
>            Assignee: Esteban Gutierrez
>             Fix For: 2.0.0, 1.4.0, 1.3.2, 1.5.0, 1.2.7
>
>         Attachments: HBASE-18024.001.patch, HBASE-18024.002.patch, HBASE-18024.003.patch,
HBASE-18024.004.patch
>
>
> When a RegionSever attempts to open a region, during initialization the RS tries to open
the {{<hbase.root.dir>/data/<table>/<region>/.hregioninfo}} file, however
if the {{.hregioninfofile}} doesn't exist, the RegionServer will create a new one on {{HRegionFileSystem#checkRegionInfoOnFilesystem}}.
A side effect of that tools like hbck will incorrectly assume an inconsistency due the presence
of this new {{.hregioninfofile}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message