You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2014/08/12 23:17:10 UTC
[1/3] git commit: ACCUMULO-3062 Get a Connector using the proper
ClientConfiguration.
Repository: accumulo
Updated Branches:
refs/heads/1.6.1-SNAPSHOT 4694a48f7 -> c97446ff6
refs/heads/master 0e710a45f -> 9f216efce
ACCUMULO-3062 Get a Connector using the proper ClientConfiguration.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c97446ff
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c97446ff
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c97446ff
Branch: refs/heads/1.6.1-SNAPSHOT
Commit: c97446ff6b3e33569fc5b792f96838c6fe82ad40
Parents: 4694a48
Author: Josh Elser <el...@apache.org>
Authored: Tue Aug 12 17:05:17 2014 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Tue Aug 12 17:06:21 2014 -0400
----------------------------------------------------------------------
.../accumulo/minicluster/MiniAccumuloClusterStartStopTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/c97446ff/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java
----------------------------------------------------------------------
diff --git a/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java b/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java
index b44868f..2031b11 100644
--- a/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java
+++ b/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java
@@ -19,8 +19,6 @@ package org.apache.accumulo.minicluster;
import java.io.IOException;
import org.apache.accumulo.core.client.Connector;
-import org.apache.accumulo.core.client.ZooKeeperInstance;
-import org.apache.accumulo.core.client.security.tokens.PasswordToken;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@@ -57,8 +55,8 @@ public class MiniAccumuloClusterStartStopTest {
public void multipleStopsIsAllowed() throws Exception {
MiniAccumuloCluster accumulo = new MiniAccumuloCluster(folder.getRoot(), "superSecret");
accumulo.start();
-
- Connector conn = new ZooKeeperInstance(accumulo.getInstanceName(), accumulo.getZooKeepers()).getConnector("root", new PasswordToken("superSecret"));
+
+ Connector conn = accumulo.getConnector("root", "superSecret");
conn.tableOperations().create("foo");
accumulo.stop();
[3/3] git commit: Merge branch '1.6.1-SNAPSHOT'
Posted by el...@apache.org.
Merge branch '1.6.1-SNAPSHOT'
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/9f216efc
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/9f216efc
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/9f216efc
Branch: refs/heads/master
Commit: 9f216efce839d6d5ac60747251fa6417114254e7
Parents: 0e710a4 c97446f
Author: Josh Elser <el...@apache.org>
Authored: Tue Aug 12 17:17:00 2014 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Tue Aug 12 17:17:00 2014 -0400
----------------------------------------------------------------------
.../accumulo/minicluster/MiniAccumuloClusterStartStopTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
[2/3] git commit: ACCUMULO-3062 Get a Connector using the proper
ClientConfiguration.
Posted by el...@apache.org.
ACCUMULO-3062 Get a Connector using the proper ClientConfiguration.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c97446ff
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c97446ff
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c97446ff
Branch: refs/heads/master
Commit: c97446ff6b3e33569fc5b792f96838c6fe82ad40
Parents: 4694a48
Author: Josh Elser <el...@apache.org>
Authored: Tue Aug 12 17:05:17 2014 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Tue Aug 12 17:06:21 2014 -0400
----------------------------------------------------------------------
.../accumulo/minicluster/MiniAccumuloClusterStartStopTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/c97446ff/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java
----------------------------------------------------------------------
diff --git a/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java b/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java
index b44868f..2031b11 100644
--- a/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java
+++ b/minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterStartStopTest.java
@@ -19,8 +19,6 @@ package org.apache.accumulo.minicluster;
import java.io.IOException;
import org.apache.accumulo.core.client.Connector;
-import org.apache.accumulo.core.client.ZooKeeperInstance;
-import org.apache.accumulo.core.client.security.tokens.PasswordToken;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@@ -57,8 +55,8 @@ public class MiniAccumuloClusterStartStopTest {
public void multipleStopsIsAllowed() throws Exception {
MiniAccumuloCluster accumulo = new MiniAccumuloCluster(folder.getRoot(), "superSecret");
accumulo.start();
-
- Connector conn = new ZooKeeperInstance(accumulo.getInstanceName(), accumulo.getZooKeepers()).getConnector("root", new PasswordToken("superSecret"));
+
+ Connector conn = accumulo.getConnector("root", "superSecret");
conn.tableOperations().create("foo");
accumulo.stop();