accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject svn commit: r1239409 - /incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/client/impl/ServerClient.java
Date Wed, 01 Feb 2012 23:43:48 GMT
Author: kturner
Date: Wed Feb  1 23:43:48 2012
New Revision: 1239409

URL: http://svn.apache.org/viewvc?rev=1239409&view=rev
Log:
ACCUMULO-340 reset warning flag when connection successful 

Modified:
    incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/client/impl/ServerClient.java

Modified: incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/client/impl/ServerClient.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/client/impl/ServerClient.java?rev=1239409&r1=1239408&r2=1239409&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/client/impl/ServerClient.java
(original)
+++ incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/client/impl/ServerClient.java
Wed Feb  1 23:43:48 2012
@@ -133,12 +133,13 @@ public class ServerClient {
       TTransport socket = ThriftTransportPool.getInstance().getAnyTransport(servers);
       ClientService.Iface client = ThriftUtil.createClient(new ClientService.Client.Factory(),
socket);
       opened = true;
+      warnedAboutTServersBeingDown = false;
       return client;
     } finally {
       if (!opened) {
         if (!warnedAboutTServersBeingDown) {
           if (servers.isEmpty()) {
-            log.warn("There are no tablet servers: check that zookeeper and tablet servers
are running.");
+            log.warn("There are no tablet servers: check that zookeeper and accumulo are
running.");
           } else {
             log.warn("Failed to find an available server in the list of servers: " + servers);
           }



Mime
View raw message