hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3444) Test to prove Bytes.toBytesBinary and Bytes.toStringBinary() is reversible
Date Fri, 12 Oct 2012 23:39:02 GMT

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

Hudson commented on HBASE-3444:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #220 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/220/])
    HBASE-3444 Bytes.toBytesBinary and Bytes.toStringBinary() should be reversible (Revision
1397703)

     Result = FAILURE
stack : 
Files : 
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestBytes.java

                
> Test to prove Bytes.toBytesBinary and Bytes.toStringBinary()  is reversible
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-3444
>                 URL: https://issues.apache.org/jira/browse/HBASE-3444
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Prakash Khemani
>            Assignee: Ken Dallmeyer
>            Priority: Minor
>             Fix For: 0.96.0
>
>         Attachments: 3444-testonly.txt, 3444.txt
>
>
> Bytes.toStringBinary() doesn't escape \.
> Otherwise the transformation isn't reversible
> byte[] a = {'\', 'x' , '0', '0'}
> Bytes.toBytesBinary(Bytes.toStringBinary(a)) won't be equal to a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message