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 CDD0D10229 for ; Fri, 2 Jan 2015 15:16:12 +0000 (UTC) Received: (qmail 23435 invoked by uid 500); 2 Jan 2015 15:16:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 23377 invoked by uid 500); 2 Jan 2015 15:16:13 -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 23365 invoked by uid 99); 2 Jan 2015 15:16:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2015 15:16:13 +0000 Date: Fri, 2 Jan 2015 15:16:13 +0000 (UTC) From: "Solomon Duskis (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Solomon Duskis created HBASE-12798: -------------------------------------- Summary: 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 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: - TableInputFormatBase - MultiTableInputFormat Other classes that could use a look over: - HRegionPartitioner - ReplicationLogCleaner -TableInputFormatBase (this requires changing documentation and further thought about how users ought to close connections) -- This message was sent by Atlassian JIRA (v6.3.4#6332)