hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1370633 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Date Wed, 08 Aug 2012 02:05:57 GMT
Author: larsh
Date: Wed Aug  8 02:05:56 2012
New Revision: 1370633

URL: http://svn.apache.org/viewvc?rev=1370633&view=rev
Log:
HBASE-6523 Revert

Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java?rev=1370633&r1=1370632&r2=1370633&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
(original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Wed Aug  8 02:05:56 2012
@@ -1663,9 +1663,8 @@ public class HConnectionManager {
       if (t instanceof KeeperException) {
         LOG.info("This client just lost it's session with ZooKeeper, will"
             + " automatically reconnect when needed.");
-        if (t instanceof KeeperException.SessionExpiredException
-            || t instanceof KeeperException.ConnectionLossException) {
-          LOG.info("The ZK connection was or the session expired. This disconnect could have
been" +
+        if (t instanceof KeeperException.SessionExpiredException) {
+          LOG.info("ZK session expired. This disconnect could have been" +
               " caused by a network partition or a long-running GC pause," +
               " either way it's recommended that you verify your environment.");
           resetZooKeeperTrackers();



Mime
View raw message