accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject [1/2] git commit: ACCUMULO-2025 - restored limitVersion doing things it's supposed to do. And mac test() uses it now
Date Mon, 16 Dec 2013 18:35:45 GMT
Updated Branches:
  refs/heads/master 98e3df21d -> 0feecbf36


ACCUMULO-2025 - restored limitVersion doing things it's supposed to do. And mac test() uses
it now


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

Branch: refs/heads/master
Commit: 73cbdc04654286dfb91bdd7bb0b61507d6c42c01
Parents: 1291713
Author: John Vines <vines@apache.org>
Authored: Mon Dec 16 13:33:26 2013 -0500
Committer: John Vines <vines@apache.org>
Committed: Mon Dec 16 13:33:26 2013 -0500

----------------------------------------------------------------------
 .../org/apache/accumulo/core/client/admin/TableOperationsImpl.java | 2 +-
 .../org/apache/accumulo/minicluster/MiniAccumuloClusterTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/73cbdc04/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java
b/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java
index ef2bd09..2819031 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java
+++ b/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java
@@ -218,7 +218,7 @@ public class TableOperationsImpl extends TableOperationsHelper {
 
     List<ByteBuffer> args = Arrays.asList(ByteBuffer.wrap(tableName.getBytes()), ByteBuffer.wrap(timeType.name().getBytes()));
 
-    Map<String,String> opts = new HashMap<String,String>();
+    Map<String,String> opts = IteratorUtil.generateInitialTableProperties(limitVersion);
 
     try {
       doTableOperation(TableOperation.CREATE, args, opts);

http://git-wip-us.apache.org/repos/asf/accumulo/blob/73cbdc04/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterTest.java
----------------------------------------------------------------------
diff --git a/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterTest.java
b/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterTest.java
index 5de981d..01b3f54 100644
--- a/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterTest.java
+++ b/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterTest.java
@@ -87,7 +87,7 @@ public class MiniAccumuloClusterTest {
   public void test() throws Exception {
     Connector conn = accumulo.getConnector("root", "superSecret");
 
-    conn.tableOperations().create("table1");
+    conn.tableOperations().create("table1", true);
 
     conn.securityOperations().createLocalUser("user1", new PasswordToken("pass1"));
     conn.securityOperations().changeUserAuthorizations("user1", new Authorizations("A", "B"));


Mime
View raw message