[ https://issues.apache.org/jira/browse/HBASE-12798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-12798: --------------------------- Release Note: TableInputFormatBase#initialize() has been added: /** * This method will be called when any of the following are referenced, but not yet initialized: * admin, regionLocator, table. Subclasses will have the opportunity to call * {@link #initializeTable(Connection, TableName)} */ protected void initialize() { was: TableInputFormatBase#initialize() has been added: {code} /** * This method will be called when any of the following are referenced, but not yet initialized: * admin, regionLocator, table. Subclasses will have the opportunity to call * {@link #initializeTable(Connection, TableName)} */ protected void initialize() { {code} > 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, 1.1.0 > > Attachments: 12798-1.0.patch, 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)