accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1346508 - in /accumulo/branches/1.3.6: ./ src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
Date Tue, 05 Jun 2012 18:11:40 GMT
Author: ecn
Date: Tue Jun  5 18:11:40 2012
New Revision: 1346508

URL: http://svn.apache.org/viewvc?rev=1346508&view=rev
Log:
ACCUMULO-619 merge to 1.3.6 branch

Modified:
    accumulo/branches/1.3.6/   (props changed)
    accumulo/branches/1.3.6/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java

Propchange: accumulo/branches/1.3.6/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.3:r1346507

Modified: accumulo/branches/1.3.6/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.3.6/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java?rev=1346508&r1=1346507&r2=1346508&view=diff
==============================================================================
--- accumulo/branches/1.3.6/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
(original)
+++ accumulo/branches/1.3.6/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
Tue Jun  5 18:11:40 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);
       }



Mime
View raw message