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 A22B81785D for ; Fri, 13 Feb 2015 15:36:24 +0000 (UTC) Received: (qmail 47663 invoked by uid 500); 13 Feb 2015 15:36:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 47613 invoked by uid 500); 13 Feb 2015 15:36:12 -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 47600 invoked by uid 99); 13 Feb 2015 15:36:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 15:36:11 +0000 Date: Fri, 13 Feb 2015 15:36:11 +0000 (UTC) From: "Sean Busbey (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13027) mapreduce.TableInputFormatBase should create its own Connection if needed 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-13027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14320303#comment-14320303 ] Sean Busbey commented on HBASE-13027: ------------------------------------- failing tests are unrelated. That remaining javadoc warning is HBASE-13038. Any other concerns [~enis]? > mapreduce.TableInputFormatBase should create its own Connection if needed > ------------------------------------------------------------------------- > > Key: HBASE-13027 > URL: https://issues.apache.org/jira/browse/HBASE-13027 > Project: HBase > Issue Type: Bug > Components: mapreduce > Affects Versions: 1.0.0, 1.1.0 > Reporter: Sean Busbey > Assignee: Sean Busbey > Priority: Blocker > Labels: hive > Fix For: 1.0.0, 2.0.0, 1.1.0 > > Attachments: HBASE-13027-0.98.1.patch.txt, HBASE-13027.1.patch.txt, HBASE-13027.2.patch.txt, HBASE-13027.3.patch.txt > > > Folks extending the mapreduce.TableInputFormatBase class and relying on the 0.98 way of doing table initialization (as given in the example in the javadoc) will currently always get an error. > When taking in a HTable, the current implementation retrieves a Connection instance from the table and then an Admin instance from said Connection. The getAdmin call validates that it only is called on unmanaged connections, but when folks construct an HTable instance according to the examples, it ends up backed by a managed connection. -- This message was sent by Atlassian JIRA (v6.3.4#6332)