You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by cj...@apache.org on 2015/01/23 04:10:42 UTC
[2/5] accumulo git commit: ACCUMULO-3504 Fix grammar/spelling errors
in initialization output.
ACCUMULO-3504 Fix grammar/spelling errors in initialization output.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/1df12a7b
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/1df12a7b
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/1df12a7b
Branch: refs/heads/1.6.2-SNAPSHOT
Commit: 1df12a7b468bd27a917010df58f83833faec8849
Parents: 2022d7c
Author: Josh Elser <el...@apache.org>
Authored: Wed Jan 21 14:15:59 2015 -0500
Committer: Josh Elser <el...@apache.org>
Committed: Wed Jan 21 14:16:29 2015 -0500
----------------------------------------------------------------------
.../base/src/main/java/org/apache/accumulo/server/Accumulo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/1df12a7b/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java b/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
index 147a7c2..f78b28a 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
@@ -275,7 +275,7 @@ public class Accumulo {
UtilWaitThread.sleep(1000);
}
}
- log.info("Zookeeper connected and initialized, attemping to talk to HDFS");
+ log.info("ZooKeeper connected and initialized, attempting to talk to HDFS");
long sleep = 1000;
int unknownHostTries = 3;
while (true) {
@@ -293,7 +293,7 @@ public class Accumulo {
/* We need to make sure our sleep period is long enough to avoid getting a cached failure of the host lookup. */
sleep = Math.max(sleep, (AddressUtil.getAddressCacheNegativeTtl((UnknownHostException) (exception.getCause())) + 1) * 1000);
} else {
- log.error("Unable to connect to HDFS and have exceeded max number of retries.", exception);
+ log.error("Unable to connect to HDFS and have exceeded the maximum number of retries.", exception);
throw exception;
}
unknownHostTries--;