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 4FF55C4C6 for ; Sat, 10 Jan 2015 22:24:33 +0000 (UTC) Received: (qmail 71250 invoked by uid 500); 10 Jan 2015 22:24:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71193 invoked by uid 500); 10 Jan 2015 22:24:34 -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 71181 invoked by uid 99); 10 Jan 2015 22:24:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jan 2015 22:24:34 +0000 Date: Sat, 10 Jan 2015 22:24:34 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12798) Map Reduce jobs should not create Tables in setConf() 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-12798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14272710#comment-14272710 ] Ted Yu commented on HBASE-12798: -------------------------------- Integrated to master branch. There're several rejections in TableInputFormatBase.java for branch-1 > Map Reduce jobs should not create Tables in setConf() > ----------------------------------------------------- > > Key: HBASE-12798 > URL: https://issues.apache.org/jira/browse/HBASE-12798 > Project: HBase > Issue Type: Bug > Reporter: Solomon Duskis > Assignee: Solomon Duskis > Fix For: 1.0.0, 2.0.0 > > Attachments: 12798-3.patch, HBASE-12798-2.patch, HBASE-12798.patch > > > setConf() gets called in many places along the Map/Reduce chain. HBase creates Tables and etc in setConf in a few places. There should be a better place to create the Table, often while creating a TableRecordReader. > This issue will tackle the following classes: > - TableOutputFormatBase > - TableInputFormatBase > - TableInputFormat > Other classes that could use a look over: > - HRegionPartitioner > - ReplicationLogCleaner -- This message was sent by Atlassian JIRA (v6.3.4#6332)