incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bil...@apache.org
Subject svn commit: r1296442 - /incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
Date Fri, 02 Mar 2012 20:40:23 GMT
Author: billie
Date: Fri Mar  2 20:40:23 2012
New Revision: 1296442

URL: http://svn.apache.org/viewvc?rev=1296442&view=rev
Log:
ACCUMULO-396 added mock instance name for fake shell

Modified:
    incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java

Modified: incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java?rev=1296442&r1=1296441&r2=1296442&view=diff
==============================================================================
--- incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
(original)
+++ incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
Fri Mar  2 20:40:23 2012
@@ -300,7 +300,7 @@ public class Shell extends ShellOptions 
     // should only be one instance option set
     instance = null;
     if (cl.hasOption(fakeOption.getLongOpt())) {
-      instance = new MockInstance();
+      instance = new MockInstance("fake");
     } else if (cl.hasOption(hdfsZooInstance.getOpt())) {
       instance = getDefaultInstance(AccumuloConfiguration.getSiteConfiguration());
     } else if (cl.hasOption(zooKeeperInstance.getOpt())) {



Mime
View raw message