You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2008/08/05 22:00:44 UTC

[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

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