hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jia...@apache.org
Subject [36/50] [abbrv] hadoop git commit: Revert "TimelineClient failed to retry on java.net.SocketTimeoutException: Read timed out"
Date Mon, 26 Sep 2016 09:08:54 GMT
Revert "TimelineClient failed to retry on java.net.SocketTimeoutException: Read timed out"

This reverts commit 2e6ee957161ab63a02a7861b727efa6310b275b2.


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

Branch: refs/heads/MAPREDUCE-6608
Commit: 3293a7d92d563e45dd69be4ed60c01ec94af8a21
Parents: 2e6ee95
Author: Varun Saxena <varunsaxena@apache.org>
Authored: Fri Sep 23 13:25:46 2016 +0530
Committer: Varun Saxena <varunsaxena@apache.org>
Committed: Fri Sep 23 13:25:46 2016 +0530

----------------------------------------------------------------------
 .../apache/hadoop/yarn/client/api/impl/TimelineClientImpl.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/3293a7d9/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineClientImpl.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineClientImpl.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineClientImpl.java
index dc4d3e6..56da2a7 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineClientImpl.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineClientImpl.java
@@ -265,8 +265,7 @@ public class TimelineClientImpl extends TimelineClient {
         public boolean shouldRetryOn(Exception e) {
           // Only retry on connection exceptions
           return (e instanceof ClientHandlerException)
-              && (e.getCause() instanceof ConnectException ||
-                  e.getCause() instanceof SocketTimeoutException);
+              && (e.getCause() instanceof ConnectException);
         }
       };
       try {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message