You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/06/01 17:24:07 UTC

[jira] Resolved: (HBASE-1390) RegionHistorian.getRegionHistory was changed to take String instead of byte[]

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

stack resolved HBASE-1390.
--------------------------

    Resolution: Fixed

Fixed by HBASE-1466 commit.

> RegionHistorian.getRegionHistory was changed to take String instead of byte[]
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-1390
>                 URL: https://issues.apache.org/jira/browse/HBASE-1390
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: ryan rawson
>             Fix For: 0.20.0
>
>
> There are 2 ways of transporting byte[] as strings:
> Bytes.toString()/toBytes() - utf-8 encode
> Bytes.toStringBinary()/toBytesBinary() - hex escaping for bytes that arent A-Za-z0-9_-,.
> By changing this function to String and calling Bytes.toString() it prevents the caller from making the transport decision.  Specifically my fixes for binary keys in the JSP rely on the JSP doing the Bytes.toStringBinary instead of Bytes.toString().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.