hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7979) Adding some utility methods in org.apache.hadoop.hbase.util.Bytes
Date Sat, 02 Mar 2013 17:43:12 GMT

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

Anoop Sam John commented on HBASE-7979:
---------------------------------------

Thanks Andrew.
I have added zero() also into my patch. [Not added random()] If you have random() usage in
your code mind putting up that here? I will add that also into patch. Else feel free to add
that also into original patch. :)
Any thing else useful some one can think of? It is late in IST. Will continue tomorrow.
                
> Adding some utility methods in org.apache.hadoop.hbase.util.Bytes
> -----------------------------------------------------------------
>
>                 Key: HBASE-7979
>                 URL: https://issues.apache.org/jira/browse/HBASE-7979
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 0.95.0, 0.98.0
>
>         Attachments: HBASE-7979_Trunk.patch
>
>
> We can add some more utility methods in Bytes. Have seen some in Guava's Bytes class.
What I am thinking is adding
> contains(byte[],byte[])
> indexOf(byte[], byte[])
> This came under the discussion in HBASE-7928

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