Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0, 1.3.1, 1.3.2
-
None
-
Reviewed
Description
In TableOutputFormat, connection will not be released in case when "mutator.close()" throws exception.
org.apache.hadoop.hbase.mapreduce.TableOutputFormat
public void close(TaskAttemptContext context) throws IOException { mutator.close(); connection.close(); }
org.apache.hadoop.hbase.mapred.TableOutputFormat
public void close(Reporter reporter) throws IOException { this.m_mutator.close(); if (connection != null) { connection.close(); connection = null; } }