[
https://issues.apache.org/jira/browse/HBASE-13027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14321114#comment-14321114
]
Hudson commented on HBASE-13027:
--------------------------------
FAILURE: Integrated in HBase-TRUNK #6130 (See
[https://builds.apache.org/job/HBase-TRUNK/6130/])
HBASE-13027 Ensure extension of TableInputFormatBase works. (busbey: rev
c96df5e240baed7509d77f6349effe0777ebef57)
*
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionManager.java
*
hbase-server/src/test/java/org/apache/hadoop/hbase/mapred/TestTableInputFormat.java
*
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormatBase.java
*
hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/MapreduceTestingShim.java
*
hbase-server/src/main/java/org/apache/hadoop/hbase/mapred/TableInputFormatBase.java
*
hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormat.java
*
hbase-client/src/main/java/org/apache/hadoop/hbase/client/NeedUnmanagedConnectionException.java
> 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)