hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12798) Map Reduce jobs should not create Tables in setConf()
Date Wed, 07 Jan 2015 18:37:35 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267998#comment-14267998
] 

Ted Yu commented on HBASE-12798:
--------------------------------

lgtm
{code}
      // NOTE: This connection doesn't currently get closed explicit1ly.
{code}
Please fix typo (last word).

> 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
>
>         Attachments: 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)

Mime
View raw message