kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [2/3] kudu git commit: [java client] Cleanup "Connection reset" message in TabletClient
Date Fri, 04 Nov 2016 19:45:54 GMT
[java client] Cleanup "Connection reset" message in TabletClient

It was adding a Channel.toString() which has never been useful, removing.

Change-Id: I4c47df9dbd7183a328fe15cabc2e7a137c6d2184
Reviewed-on: http://gerrit.cloudera.org:8080/4947
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <adar@cloudera.com>


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

Branch: refs/heads/master
Commit: c44c6f3c6b99a881b04e13a5d58e13034c4a6e5a
Parents: 4396659
Author: Jean-Daniel Cryans <jdcryans@apache.org>
Authored: Tue Nov 1 15:36:41 2016 -0700
Committer: Adar Dembo <adar@cloudera.com>
Committed: Fri Nov 4 19:35:31 2016 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/kudu/client/TabletClient.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/c44c6f3c/java/kudu-client/src/main/java/org/apache/kudu/client/TabletClient.java
----------------------------------------------------------------------
diff --git a/java/kudu-client/src/main/java/org/apache/kudu/client/TabletClient.java b/java/kudu-client/src/main/java/org/apache/kudu/client/TabletClient.java
index 9f13fb2..1b6f5ac 100644
--- a/java/kudu-client/src/main/java/org/apache/kudu/client/TabletClient.java
+++ b/java/kudu-client/src/main/java/org/apache/kudu/client/TabletClient.java
@@ -203,7 +203,7 @@ public class TabletClient extends ReplayingDecoder<VoidEnum> {
 
     if (failRpc) {
       Status statusNetworkError =
-          Status.NetworkError(getPeerUuidLoggingString() + "Connection reset on " + chan);
+          Status.NetworkError(getPeerUuidLoggingString() + "Connection reset");
       failOrRetryRpc(rpc, new RecoverableException(statusNetworkError));
     } else if (tryAgain) {
       // This recursion will not lead to a loop because we only get here if we
@@ -710,7 +710,7 @@ public class TabletClient extends ReplayingDecoder<VoidEnum> {
       pending_rpcs = null;
     }
     Status statusNetworkError =
-        Status.NetworkError(getPeerUuidLoggingString() + "Connection reset on " + chan);
+        Status.NetworkError(getPeerUuidLoggingString() + "Connection reset");
     RecoverableException exception = new RecoverableException(statusNetworkError);
 
     failOrRetryRpcs(rpcs, exception);


Mime
View raw message