accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1496225 - /accumulo/trunk/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
Date Mon, 24 Jun 2013 21:30:37 GMT
Author: ecn
Date: Mon Jun 24 21:30:37 2013
New Revision: 1496225

URL: http://svn.apache.org/r1496225
Log:
ACCUMULO-118 added getConnector method for VolumeManager test

Modified:
    accumulo/trunk/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java

Modified: accumulo/trunk/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java?rev=1496225&r1=1496224&r2=1496225&view=diff
==============================================================================
--- accumulo/trunk/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
(original)
+++ accumulo/trunk/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
Mon Jun 24 21:30:37 2013
@@ -335,6 +335,15 @@ public class MiniAccumuloCluster {
     return config;
   }
 
+  /**
+   * Utility method to get a connector to the MAC.
+   * @since 1.6.0
+   * @param user
+   * @param passwd
+   * @return Connector
+   * @throws AccumuloException
+   * @throws AccumuloSecurityException
+   */
   public Connector getConnector(String user, String passwd) throws AccumuloException, AccumuloSecurityException
{
     Instance instance = new ZooKeeperInstance(this.getInstanceName(), this.getZooKeepers());
     return instance.getConnector(user, new PasswordToken(passwd));



Mime
View raw message