Updated Branches: refs/heads/master 0e91346dc -> 2f18b3592
BLUR-301 List command output should be sorted Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/2f18b359 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/2f18b359 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/2f18b359 Branch: refs/heads/master Commit: 2f18b359213f85158c802afbede4317b9a82d479 Parents: 0e91346 Author: Gagan <[email protected]> Authored: Thu Nov 21 14:57:03 2013 +0530 Committer: Gagan <[email protected]> Committed: Thu Nov 21 14:57:03 2013 +0530 ---------------------------------------------------------------------- .../src/main/java/org/apache/blur/shell/ListTablesCommand.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/2f18b359/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java ---------------------------------------------------------------------- diff --git a/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java b/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java index f35f5dd..1413e07 100644 --- a/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java +++ b/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java @@ -19,6 +19,7 @@ package org.apache.blur.shell; import java.io.PrintWriter; +import java.util.Collections; import java.util.List; import org.apache.blur.thirdparty.thrift_0_9_0.TException; @@ -31,6 +32,7 @@ public class ListTablesCommand extends Command { BlurException { List<String> tableList = client.tableListByCluster(Main.getCluster(client)); + Collections.sort(tableList); for (String s : tableList) { out.println(s); }
