hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1390) RegionHistorian.getRegionHistory was changed to take String instead of byte[]
Date Mon, 11 May 2009 16:31:45 GMT

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

stack commented on HBASE-1390:
------------------------------

Ryan, you going to fix this with your binary-keys patch?

> 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.


Mime
View raw message