You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2015/10/23 21:40:48 UTC

accumulo git commit: ACCUMULO-4038 helps to check the right exception

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 <er...@gmail.com>
Authored: Fri Oct 23 15:40:41 2015 -0400
Committer: Eric C. Newton <er...@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);