accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [2/3] git commit: ACCUMULO-3049 close the connections to the tservers
Date Fri, 19 Sep 2014 12:18:45 GMT
ACCUMULO-3049 close the connections to the tservers


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/68c3efe8
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/68c3efe8
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/68c3efe8

Branch: refs/heads/master
Commit: 68c3efe8908e0639e1bf55bae2cb6cde50182284
Parents: 82af219
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Fri Sep 19 08:17:58 2014 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Fri Sep 19 08:17:58 2014 -0400

----------------------------------------------------------------------
 .../monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/68c3efe8/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
----------------------------------------------------------------------
diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
index 25803b3..7a724f8 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
@@ -536,6 +536,8 @@ public class Monitor {
         }
       } catch (Exception ex) {
         log.debug(ex, ex);
+      } finally {
+        ThriftUtil.returnClient(tserver);
       }
     }
     // Age off old scan information


Mime
View raw message