Description
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.
Attachments
Attachments
Issue Links
- is broken by
-
HBASE-12798 Map Reduce jobs should not create Tables in setConf()
- Closed
-
HBASE-12835 HBASE-12422 changed new HTable(Configuration) to not use managed Connections anymore
- Closed
-
HBASE-10934 Provide Admin interface to abstract HBaseAdmin
- Closed
- is related to
-
HBASE-12422 Use ConnectionFactory in HTable constructors
- Closed
- relates to
-
HIVE-9650 Fix HBase tests post 1.x API changes
- Resolved
- links to