ACCUMULO-1429 use the specified tablename 

git-svn-id: https://svn.apache.org/repos/asf/accumulo/branches/1.4@1483954 
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/a3d5dc62
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/a3d5dc62
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/a3d5dc62

Branch: refs/heads/master
Commit: a3d5dc629347799f177ed578c85318e2c765257f
Parents: 55a97ce
Author: Eric C. Newton <[email protected]>
Authored: Fri May 17 19:16:01 2013 +0000
Committer: Eric C. Newton <[email protected]>
Committed: Fri May 17 19:16:01 2013 +0000

----------------------------------------------------------------------
 .../org/apache/accumulo/core/util/shell/commands/ScanCommand.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/a3d5dc62/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ScanCommand.java
----------------------------------------------------------------------
diff --git 
a/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ScanCommand.java
 
b/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ScanCommand.java
index ca1ea83..275a07f 100644
--- 
a/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ScanCommand.java
+++ 
b/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ScanCommand.java
@@ -108,7 +108,7 @@ public class ScanCommand extends Command {
   }
   
   protected void addScanIterators(Shell shellState, Scanner scanner, String 
tableName) {
-    List<IteratorSetting> tableScanIterators = 
shellState.scanIteratorOptions.get(shellState.getTableName());
+    List<IteratorSetting> tableScanIterators = 
shellState.scanIteratorOptions.get(tableName);
     if (tableScanIterators == null) {
       Shell.log.debug("Found no scan iterators to set");
       return;

Reply via email to