Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97B61F915 for ; Sat, 23 Mar 2013 04:27:20 +0000 (UTC) Received: (qmail 70408 invoked by uid 500); 23 Mar 2013 04:27:19 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 70365 invoked by uid 500); 23 Mar 2013 04:27:19 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 70341 invoked by uid 99); 23 Mar 2013 04:27:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Mar 2013 04:27:19 +0000 Date: Sat, 23 Mar 2013 04:27:19 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8180) [refGuide] Addition to performance.xml - use byte-array constants for CF, Cols MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-8180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611576#comment-13611576 ] Hudson commented on HBASE-8180: ------------------------------- Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #460 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/460/]) hbase-8183. performance.xml. Fixed typo introduced in hbase-8180. (Revision 1459945) hbase-8180. performance.xml. Adding entry for using byte-array constants. (Revision 1459930) Result = FAILURE > [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