Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 11156 invoked from network); 5 Aug 2008 20:01:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Aug 2008 20:01:35 -0000 Received: (qmail 92710 invoked by uid 500); 5 Aug 2008 20:01:34 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 92690 invoked by uid 500); 5 Aug 2008 20:01:34 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 92679 invoked by uid 99); 5 Aug 2008 20:01:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 13:01:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 20:00:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 594E9234C18C for ; Tue, 5 Aug 2008 13:00:44 -0700 (PDT) Message-ID: <1688394778.1217966444364.JavaMail.jira@brutus> Date: Tue, 5 Aug 2008 13:00:44 -0700 (PDT) From: "Andrew Purtell (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-796) Deprecates Text/String methods from HTable and modifies all classes that used Text/String methods so that they use byte[] instead In-Reply-To: <87901005.1217966084361.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620021#action_12620021 ] Andrew Purtell commented on HBASE-796: -------------------------------------- +1 on deprecating Text, -1 on deprecating String. IMHO, string convenience functions are important when working with the rest of Java-land. Even with o.a.h.h.u.Bytes, converting from byte[] to String back to byte[] makes client code unnecessarily ugly. > Deprecates Text/String methods from HTable and modifies all classes that used Text/String methods so that they use byte[] instead > --------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-796 > URL: https://issues.apache.org/jira/browse/HBASE-796 > Project: Hadoop HBase > Issue Type: Improvement > Components: client, mapred, test > Reporter: Michael Gottesman > Fix For: 0.2.0 > > Attachments: patch > > > This patch deprecates the text/string methods in HTable and changes all tests/normal methods that use those deprecated methods so that they use the byte[] version of the methods. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.