You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2012/06/05 20:10:18 UTC

svn commit: r1346507 - /accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java

Author: ecn
Date: Tue Jun  5 18:10:18 2012
New Revision: 1346507

URL: http://svn.apache.org/viewvc?rev=1346507&view=rev
Log:
ACCUMULO-619 fix the iterator configuration

Modified:
    accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java

Modified: accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java?rev=1346507&r1=1346506&r2=1346507&view=diff
==============================================================================
--- accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java (original)
+++ accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java Tue Jun  5 18:10:18 2012
@@ -1747,10 +1747,10 @@ public class Shell {
       for (IteratorScope scope : scopes) {
         String stem = String.format("%s%s.%s", Property.TABLE_ITERATOR_PREFIX, scope.name(), name);
         log.debug("setting property " + stem + " to " + priority + "," + classname);
-        stem += ".opt.";
+        String optStem = stem + ".opt.";
         for (Entry<String,String> e : options.entrySet()) {
-          log.debug("setting property " + stem + e.getKey() + " to " + e.getValue());
-          shellState.connector.tableOperations().setProperty(tableName, stem + e.getKey(), e.getValue());
+          log.debug("setting property " + optStem + e.getKey() + " to " + e.getValue());
+          shellState.connector.tableOperations().setProperty(tableName, optStem + e.getKey(), e.getValue());
         }
         shellState.connector.tableOperations().setProperty(tableName, stem, priority + "," + classname);
       }