You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/03/25 16:21:40 UTC
[41/43] git commit: Removed logging because it was really verbose
Removed logging because it was really verbose
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/63b37216
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/63b37216
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/63b37216
Branch: refs/heads/asyncqueue
Commit: 63b37216ac67a7c1e31b114f9bf7dfb5b42263c9
Parents: af396d5
Author: Todd Nine <tn...@apigee.com>
Authored: Mon Mar 24 13:15:25 2014 -0700
Committer: Todd Nine <tn...@apigee.com>
Committed: Mon Mar 24 13:15:25 2014 -0700
----------------------------------------------------------------------
stack/awscluster/src/main/groovy/wait_for_instances.groovy | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/63b37216/stack/awscluster/src/main/groovy/wait_for_instances.groovy
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/groovy/wait_for_instances.groovy b/stack/awscluster/src/main/groovy/wait_for_instances.groovy
index 04e241f..75b73b7 100644
--- a/stack/awscluster/src/main/groovy/wait_for_instances.groovy
+++ b/stack/awscluster/src/main/groovy/wait_for_instances.groovy
@@ -36,7 +36,6 @@ while (true) {
for (item in selectResult.getItems()) {
def att = item.getAttributes().get(0)
if (att.getValue().equals(stackName)) {
- println("Found node with ip ${item.getName()}. Incrementing count")
count++
}
}
@@ -44,11 +43,13 @@ while (true) {
println("count = ${count}, total number of servers is ${cassNumServers}. Breaking")
break
}
+
+ println("Found ${count} nodes but need at least ${cassNumServers}. Waiting...")
} catch (Exception e) {
println "ERROR waiting for Casasndra ${e.getMessage()}, will continue waiting"
return
}
- Thread.sleep(1000)
+ Thread.sleep(2000)
}
println "Waiting done."