[
https://issues.apache.org/jira/browse/PHOENIX-4635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16382767#comment-16382767
]
Geoffrey Jacoby commented on PHOENIX-4635:
------------------------------------------
+1. Another case where git's diff implementation makes adding a
try-with-resources look like a much bigger change than it really is. :)
> HBase Connection leak in org.apache.phoenix.hive.mapreduce.PhoenixInputFormat
> -----------------------------------------------------------------------------
>
> Key: PHOENIX-4635
> URL: https://issues.apache.org/jira/browse/PHOENIX-4635
> Project: Phoenix
> Issue Type: Bug
> Reporter: Yechao Chen
> Priority: Major
> Attachments: PHOENIX-4635.001.patch,
> PHOENIX-4635.4.x-HBase-0.98.001.patch, PHOENIX-4635.5.x-HBase-2.0.001.patch
>
>
> org.apache.phoenix.hive.mapreduce.PhoenixInputFormat#generateSplits()
> HConnection connection =
> HConnectionManager.createConnection(PhoenixConnectionUtil.getConfiguration(jobConf));
> connection shoule be closed
>
> i will submit a patch to fix this
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)