accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-3049 close the connections to the tservers
Date Fri, 19 Sep 2014 13:40:34 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.6.1-SNAPSHOT ddd2c3bc0 -> 5878a7766


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/5878a776
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/5878a776
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/5878a776

Branch: refs/heads/1.6.1-SNAPSHOT
Commit: 5878a776635077ba48def878c39c2116cd89f50c
Parents: ddd2c3b
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 09:35:56 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/5878a776/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 47ddaef..948aed1 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
@@ -532,6 +532,8 @@ public class Monitor {
         }
       } catch (Exception ex) {
         log.debug(ex, ex);
+      } finally {
+        ThriftUtil.returnClient(tserver);
       }
     }
     // Age off old scan information


Mime
View raw message