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/02/24 22:19:08 UTC
[02/11] accumulo git commit: ACCUMULO-3580 ACCUMULO-3618 disable
metadata table scanning optimizations
ACCUMULO-3580 ACCUMULO-3618 disable metadata table scanning optimizations
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/517757fe
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/517757fe
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/517757fe
Branch: refs/heads/master
Commit: 517757fed365a19c2d5633779e70f9617fd481a3
Parents: c92c3c4
Author: Eric C. Newton <er...@gmail.com>
Authored: Tue Feb 24 14:24:56 2015 -0500
Committer: Eric C. Newton <er...@gmail.com>
Committed: Tue Feb 24 14:24:56 2015 -0500
----------------------------------------------------------------------
.../main/java/org/apache/accumulo/server/master/Master.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/517757fe/server/src/main/java/org/apache/accumulo/server/master/Master.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/accumulo/server/master/Master.java b/server/src/main/java/org/apache/accumulo/server/master/Master.java
index abf7468..8e072e9 100644
--- a/server/src/main/java/org/apache/accumulo/server/master/Master.java
+++ b/server/src/main/java/org/apache/accumulo/server/master/Master.java
@@ -2308,8 +2308,12 @@ public class Master implements LiveTServerSet.Listener, TableObserver, CurrentSt
});
TCredentials systemAuths = SecurityConstants.getSystemCredentials();
- final TabletStateStore stores[] = {new ZooTabletStateStore(new ZooStore(zroot)), new RootTabletStateStore(instance, systemAuths, this),
- new MetaDataStateStore(instance, systemAuths, this)};
+ final TabletStateStore stores[] = {
+ new ZooTabletStateStore(new ZooStore(zroot)),
+ new RootTabletStateStore(instance, systemAuths, this),
+ // ACCUMULO-3580 ACCUMULO-3618 disable metadata table scanning optimizations
+ new MetaDataStateStore(instance, systemAuths, null)
+ };
watchers.add(new TabletGroupWatcher(stores[2], null));
watchers.add(new TabletGroupWatcher(stores[1], watchers.get(0)));
watchers.add(new TabletGroupWatcher(stores[0], watchers.get(1)));