You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2012/08/08 04:05:57 UTC

svn commit: r1370633 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java

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();