hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-1390) RegionHistorian.getRegionHistory was changed to take String instead of byte[]
Date Fri, 08 May 2009 00:16:45 GMT
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