You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Marc Spaggiari (JIRA)" <ji...@apache.org> on 2013/03/22 20:13:15 UTC
[jira] [Commented] (HBASE-8180) [refGuide] Addition to
performance.xml - use byte-array constants for CF, Cols
[ https://issues.apache.org/jira/browse/HBASE-8180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611090#comment-13611090 ]
Jean-Marc Spaggiari commented on HBASE-8180:
--------------------------------------------
I agree. Good to add an example.
There is a typo. surprsingly => surprisingly
> [refGuide] Addition to performance.xml - use byte-array constants for CF, Cols
> ------------------------------------------------------------------------------
>
> Key: HBASE-8180
> URL: https://issues.apache.org/jira/browse/HBASE-8180
> Project: HBase
> Issue Type: Improvement
> Reporter: Doug Meil
> Assignee: Doug Meil
> Attachments: performance_hbase_8180.xml.patch
>
>
> I realized that we don't have anywhere in the refGuide to use byte-array constants for CF and Column names. Doing this .getBytes() in a loop (especially in a MapReduce job) is surprisingly expensive. Adding to the performance chapter.
> I am also going to update the other code examples in the book, but in another ticket.
> This is one of those "so obvious that it's not" kind of things.
--
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