[
https://issues.apache.org/jira/browse/HBASE-20001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365123#comment-16365123
]
Francis Liu commented on HBASE-20001:
-------------------------------------
[~thiruvel] created a patch internally so assigning to him. This hopefully is
the last thing needed for 1.3.2 release.
> cleanIfNoMetaEntry() uses encoded instead of region name to lookup region
> -------------------------------------------------------------------------
>
> Key: HBASE-20001
> URL: https://issues.apache.org/jira/browse/HBASE-20001
> Project: HBase
> Issue Type: Bug
> Affects Versions: 1.2.0, 1.3.0, 1.4.0, 1.1.7
> Reporter: Francis Liu
> Assignee: Thiruvel Thirumoolan
> Priority: Major
>
> In RegionStates.cleanIfNoMetaEntry()
> {{if (MetaTableAccessor.getRegion(server.getConnection(),
> hri.getEncodedNameAsBytes()) == null) {}}
> {{regionOffline(hri);}}{{ }}
> {{FSUtils.deleteRegionDir(server.getConfiguration(), hri);}}
> {{ }}}
> But api expects regionname
> {{ public static Pair<HRegionInfo, ServerName> getRegion(Connection
> connection, byte [] regionName)}}
> So we might cleaning good regions.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)