accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [1/3] accumulo git commit: ACCUMULO-3580 ACCUMULO-3618 disable metadata table scanning optimizations
Date Tue, 24 Feb 2015 21:14:15 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.5 c59b115ba -> 0c300de23


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/1.5
Commit: 517757fed365a19c2d5633779e70f9617fd481a3
Parents: c92c3c4
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Tue Feb 24 14:24:56 2015 -0500
Committer: Eric C. Newton <eric.newton@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)));


Mime
View raw message