From 4c9177de9ec7da33a343ebba64b16d02dc506921 Mon Sep 17 00:00:00 2001 From: Doug Meil Date: Fri, 22 Mar 2013 19:32:35 +0000 Subject: [PATCH] hbase-8183. performance.xml. Fixed typo introduced in hbase-8180. git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1459945 13f79535-47bb-0310-9956-ffa450edef68 --- src/docbkx/performance.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docbkx/performance.xml b/src/docbkx/performance.xml index 6c2980f9857..353f7dd5f6a 100644 --- a/src/docbkx/performance.xml +++ b/src/docbkx/performance.xml @@ -298,7 +298,7 @@ Result r = htable.get(get); byte[] b = r.getValue(Bytes.toBytes("cf"), Bytes.toBytes("attr")); // returns current version of value But especially when inside loops (and MapReduce jobs), converting the columnFamily and column-names - to byte-arrays repeatedly is surprsingly expensive. + to byte-arrays repeatedly is surprisingly expensive. It's better to use constants for the byte-arrays, like this: public static final byte[] CF = "cf".getBytes();