[
https://issues.apache.org/jira/browse/HBASE-14007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611214#comment-14611214
]
Ted Yu commented on HBASE-14007:
--------------------------------
{code}
161 Admin admin =
ConnectionFactory.createConnection(getConf()).getAdmin();
{code}
Please use try-with-resources
> Writing to table through MR should fail upfront if table does not
> exist/disabled
> --------------------------------------------------------------------------------
>
> Key: HBASE-14007
> URL: https://issues.apache.org/jira/browse/HBASE-14007
> Project: HBase
> Issue Type: Bug
> Components: mapreduce
> Affects Versions: 1.1.1
> Reporter: Thiruvel Thirumoolan
> Assignee: Thiruvel Thirumoolan
> Priority: Minor
> Labels: mapreduce
> Fix For: 1.2.0, 1.1.2
>
> Attachments: HBASE-14007.patch
>
>
> TableOutputFormat.checkOutputSpecs() needs to be fixed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)