svn merge -c 1475959 from trunk for HADOOP-9503. Remove sleep between IPC client connect timeouts.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1475960 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2013-04-25 21:09:04 +00:00
parent a51590e1c5
commit 874f58b23a
2 changed files with 3 additions and 6 deletions

View File

@ -42,6 +42,9 @@ Release 2.0.5-beta - UNRELEASED
HADOOP-9496. Bad merge of HADOOP-9450 on branch-2 breaks all bin/hadoop HADOOP-9496. Bad merge of HADOOP-9450 on branch-2 breaks all bin/hadoop
calls that need HADOOP_CLASSPATH. (harsh) calls that need HADOOP_CLASSPATH. (harsh)
HADOOP-9503. Remove sleep between IPC client connect timeouts.
(Varun Sharma via szetszwo)
OPTIMIZATIONS OPTIMIZATIONS
HADOOP-9150. Avoid unnecessary DNS resolution attempts for logical URIs HADOOP-9150. Avoid unnecessary DNS resolution attempts for logical URIs

View File

@ -703,12 +703,6 @@ public class Client {
if (curRetries >= maxRetries) { if (curRetries >= maxRetries) {
throw ioe; throw ioe;
} }
// otherwise back off and retry
try {
Thread.sleep(1000);
} catch (InterruptedException ignored) {}
LOG.info("Retrying connect to server: " + server + ". Already tried " LOG.info("Retrying connect to server: " + server + ". Already tried "
+ curRetries + " time(s); maxRetries=" + maxRetries); + curRetries + " time(s); maxRetries=" + maxRetries);
} }