hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "binlijin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5856) byte <-> String is not consistent between HBaseAdmin and HRegionInfo
Date Mon, 23 Apr 2012 10:01:34 GMT
binlijin created HBASE-5856:
-------------------------------

             Summary: 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, 0.90.6
            Reporter: binlijin


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message