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

Hudson commented on HBASE-18180:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.3-JDK8 #199 (See 
[https://builds.apache.org/job/HBase-1.3-JDK8/199/])
HBASE-18180 Possible connection leak while closing BufferedMutator in (tedyu: 
rev 98cd0de41075961f728543617e9785573f813a1a)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputFormat.java
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java


> Possible connection leak while closing BufferedMutator in TableOutputFormat
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-18180
>                 URL: https://issues.apache.org/jira/browse/HBASE-18180
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 1.4.0, 1.3.1, 1.3.2
>            Reporter: Pankaj Kumar
>            Assignee: Pankaj Kumar
>             Fix For: 3.0.0, 1.4.0, 1.3.2, 2.0.0-alpha-2
>
>         Attachments: HBASE-18180-branch-1.3.patch, 
> HBASE-18180-branch-1.patch, HBASE-18180.patch
>
>
> In TableOutputFormat, connection will not be released in case when 
> "mutator.close()" throws exception.
> org.apache.hadoop.hbase.mapreduce.TableOutputFormat
> {code}
>     public void close(TaskAttemptContext context)
>     throws IOException {
>       mutator.close();
>       connection.close();
>     }
> {code}
> org.apache.hadoop.hbase.mapred.TableOutputFormat
> {code}
>     public void close(Reporter reporter) throws IOException {
>       this.m_mutator.close();
>       if (connection != null) {
>         connection.close();
>         connection = null;
>       }
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to