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 0FF6811070 for ; Fri, 5 Sep 2014 03:39:26 +0000 (UTC) Received: (qmail 84102 invoked by uid 500); 5 Sep 2014 03:39:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 84066 invoked by uid 500); 5 Sep 2014 03:39:25 -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 84054 invoked by uid 99); 5 Sep 2014 03:39:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 03:39:25 +0000 Date: Fri, 5 Sep 2014 03:39:25 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11900) Optimization for incremental load reducer 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-11900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-11900: ----------------------------------- Component/s: mapreduce > Optimization for incremental load reducer > ----------------------------------------- > > Key: HBASE-11900 > URL: https://issues.apache.org/jira/browse/HBASE-11900 > Project: HBase > Issue Type: Improvement > Components: HFile, mapreduce > Affects Versions: 0.98.6 > Reporter: Yi Deng > Priority: Minor > > In current implementation, the key of reducer configured by HFileOutputFormat.configureIncrementalLoad, is row. So, the reducer has to do an in-memory sort before writing key values to the disk. When we meet with some rows with a huge number of comlumns/versions, there could be OOM. > A better way is: > Use the KeyValue as the key, value can be a NullWritable. Partioner partitions the KeyValue only by it's row part. Set a sort comparator that sort KeyValue with KeyValue.COMPARATOR -- This message was sent by Atlassian JIRA (v6.3.4#6332)