You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/13 16:31:00 UTC

[jira] [Closed] (HBASE-5856) byte <-> String is not consistent between HBaseAdmin and HRegionInfo

     [ https://issues.apache.org/jira/browse/HBASE-5856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kyle Purtell closed HBASE-5856.
--------------------------------------

> byte <-> String is not consistent between HBaseAdmin and HRegionInfo
> --------------------------------------------------------------------
>
>                 Key: HBASE-5856
>                 URL: https://issues.apache.org/jira/browse/HBASE-5856
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.92.1
>            Reporter: Lijin Bin
>            Priority: Major
>         Attachments: HBASE-5856-0.92.patch
>
>
> In HBaseAdmin 
>   public void split(final String tableNameOrRegionName)
>   throws IOException, InterruptedException {
>     split(Bytes.toBytes(tableNameOrRegionName));  // string -> byte 
>   }
> In HRegionInfo
>   this.regionNameStr = Bytes.toStringBinary(this.regionName);  // byte -> string
> Should we use Bytes.toBytesBinary in HBaseAdmin ?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)