accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject accumulo git commit: ACCUMULO-4038 helps to check the right exception
Date Fri, 23 Oct 2015 19:40:48 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master feff4f9ac -> 8f52ab250


ACCUMULO-4038 helps to check the right exception


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/8f52ab25
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/8f52ab25
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/8f52ab25

Branch: refs/heads/master
Commit: 8f52ab2506deb98563e4acab1349c18f3eba9871
Parents: feff4f9
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Fri Oct 23 15:40:41 2015 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Fri Oct 23 15:40:41 2015 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/server/log/WalStateManager.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/8f52ab25/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
b/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
index 1516176..25d9168 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
@@ -146,7 +146,7 @@ public class WalStateManager {
           result.add(parts.getSecond());
         }
       }
-    } catch (KeeperException.NodeExistsException e) {
+    } catch (KeeperException.NoNodeException e) {
       log.debug("{} has no wal entry in zookeeper, assuming no logs", tsi);
     } catch (KeeperException | InterruptedException e) {
       throw new WalMarkerException(e);


Mime
View raw message