You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by kt...@apache.org on 2013/05/06 18:35:48 UTC
svn commit: r1479633 -
/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/mini/MiniAccumuloCluster.java
Author: kturner
Date: Mon May 6 16:35:48 2013
New Revision: 1479633
URL: http://svn.apache.org/r1479633
Log:
ACCUMULO-1367 Added two methods back that were removed from public API and added since tag to new method
Modified:
accumulo/trunk/server/src/main/java/org/apache/accumulo/server/mini/MiniAccumuloCluster.java
Modified: accumulo/trunk/server/src/main/java/org/apache/accumulo/server/mini/MiniAccumuloCluster.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/mini/MiniAccumuloCluster.java?rev=1479633&r1=1479632&r2=1479633&view=diff
==============================================================================
--- accumulo/trunk/server/src/main/java/org/apache/accumulo/server/mini/MiniAccumuloCluster.java (original)
+++ accumulo/trunk/server/src/main/java/org/apache/accumulo/server/mini/MiniAccumuloCluster.java Mon May 6 16:35:48 2013
@@ -252,6 +252,22 @@ public class MiniAccumuloCluster {
}
/**
+ * @return Accumulo instance name
+ */
+
+ public String getInstanceName() {
+ return config.getInstanceName();
+ }
+
+ /**
+ * @return zookeeper connection string
+ */
+
+ public String getZooKeepers() {
+ return config.getZooKeepers();
+ }
+
+ /**
* Stops Accumulo and Zookeeper processes. If stop is not called, there is a shutdown hook that is setup to kill the processes. However its probably best to
* call stop in a finally block as soon as possible.
*
@@ -273,6 +289,11 @@ public class MiniAccumuloCluster {
lw.flush();
}
+ /**
+ *
+ * @since 1.6.0
+ */
+
public MiniAccumuloConfig getConfig() {
return config;
}