incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Adding debug log output during a client error.
Date Tue, 27 Jan 2015 22:07:27 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master f677e0966 -> bd322fe8a


Adding debug log output during a client error.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/bd322fe8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/bd322fe8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/bd322fe8

Branch: refs/heads/master
Commit: bd322fe8a28192c657ad647ec7a006efda2e7bc5
Parents: f677e09
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Jan 27 17:07:02 2015 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Jan 27 17:07:02 2015 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/thrift/BlurClientManager.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bd322fe8/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClientManager.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClientManager.java b/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClientManager.java
index 99c90a5..ba0276d 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClientManager.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/BlurClientManager.java
@@ -278,6 +278,9 @@ public class BlurClientManager {
       AtomicInteger retries, AbstractCommand<CLIENT, T> command, Exception e, int maxRetries,
long backOffTime,
       long maxBackOffTime) {
     if (client.get() != null) {
+      if (e != null) {
+        LOG.debug("Error", e);
+      }
       trashConnections(connection, client);
       markBadConnection(connection);
       client.set(null);


Mime
View raw message