Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15086D1BD for ; Fri, 12 Oct 2012 19:51:05 +0000 (UTC) Received: (qmail 69356 invoked by uid 500); 12 Oct 2012 19:51:04 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 69315 invoked by uid 500); 12 Oct 2012 19:51:04 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 69306 invoked by uid 99); 12 Oct 2012 19:51:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 19:51:04 +0000 Date: Fri, 12 Oct 2012 19:51:04 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <1262658891.39265.1350071464786.JavaMail.jiratomcat@arcas> In-Reply-To: <27488973.371261295025345567.JavaMail.jira@thor> Subject: [jira] [Resolved] (HBASE-3444) Test to prove Bytes.toBytesBinary and Bytes.toStringBinary() is reversible MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-3444. -------------------------- Resolution: Fixed Hadoop Flags: Reviewed Committed the test only. It proves that HBASE-6518 works. Thanks for the patch Ken. > 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