You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 05:55:00 UTC
[jira] [Closed] (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:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-8180.
--------------------------------------
> [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
> Priority: Major
> 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 was sent by Atlassian Jira
(v8.20.7#820007)