hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8044) split/flush/compact/major_compact from hbase shell does not work for region key with \x format
Date Thu, 14 Mar 2013 22:42:13 GMT

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

Ted Yu commented on HBASE-8044:
-------------------------------

Thanks for the reminder, Jimmy.
>From your patch:
{code}
-        Pair<HRegionInfo, ServerName> pair =
-          MetaReader.getRegion(ct, tableNameOrRegionName);
-        if (pair == null || pair.getSecond() == null) {
+      Pair<HRegionInfo, ServerName> regionServerPair
+        = getRegion(tableNameOrRegionName, ct);
{code}
I think closeRegion() was left out - it still uses MetaReader.getRegion().
Should we apply similar change to closeRegion() as well ?
                
> split/flush/compact/major_compact from hbase shell does not work for region key with
\x format
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8044
>                 URL: https://issues.apache.org/jira/browse/HBASE-8044
>             Project: HBase
>          Issue Type: Bug
>          Components: Admin
>    Affects Versions: 0.94.5
>            Reporter: Tianying Chang
>            Assignee: Tianying Chang
>             Fix For: 0.95.0, 0.98.0, 0.94.7
>
>         Attachments: 8044.patch, 8044-trunk.txt, 8044-trunk-v2.txt, 8044-v2.patch
>
>
> the conversion between bytes and string is incorrect

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message