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 2011/12/12 14:30:31 UTC
svn commit: r1213234 -
/incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/CompactCommand.java
Author: ecn
Date: Mon Dec 12 13:30:31 2011
New Revision: 1213234
URL: http://svn.apache.org/viewvc?rev=1213234&view=rev
Log:
ACCUMULO-213: merge to trunk
Modified:
incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/CompactCommand.java
Modified: incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/CompactCommand.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/CompactCommand.java?rev=1213234&r1=1213233&r2=1213234&view=diff
==============================================================================
--- incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/CompactCommand.java (original)
+++ incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/CompactCommand.java Mon Dec 12 13:30:31 2011
@@ -45,9 +45,9 @@ public class CompactCommand extends Tabl
if (wait)
Shell.log.info("Compacting table ...");
- shellState.getConnector().tableOperations().compact(shellState.getTableName(), startRow, endRow, flush, wait);
+ shellState.getConnector().tableOperations().compact(tableName, startRow, endRow, flush, wait);
- Shell.log.info("Compaction of table " + shellState.getTableName() + " " + (wait ? "completed" : "started") + " for given range");
+ Shell.log.info("Compaction of table " + tableName + " " + (wait ? "completed" : "started") + " for given range");
} catch (Exception ex) {
throw new AccumuloException(ex);
}