From cfa1bd3265f5a564131e9cd075fc70e95aa2fd1b Mon Sep 17 00:00:00 2001 From: Pankaj Kumar Date: Mon, 12 Jun 2017 19:51:41 +0800 Subject: [PATCH] HBASE-18180 Possible connection leak while closing BufferedMutator in TableOutputFormat Signed-off-by: tedyu --- .../hadoop/hbase/mapred/TableOutputFormat.java | 13 ++++++++----- .../hadoop/hbase/mapreduce/TableOutputFormat.java | 14 ++++++++++---- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java index eb4b66f3dcf..8878eeeccb5 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java @@ -84,11 +84,14 @@ public class TableOutputFormat extends FileOutputFormat