incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Williams (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BLUR-402) Listing tables in the shell shouldn't fail on a single table error
Date Wed, 21 Jan 2015 18:58:35 GMT
Tim Williams created BLUR-402:
---------------------------------

             Summary: Listing tables in the shell shouldn't fail on a single table error
                 Key: BLUR-402
                 URL: https://issues.apache.org/jira/browse/BLUR-402
             Project: Apache Blur
          Issue Type: Improvement
          Components: Blur Shell
            Reporter: Tim Williams
            Priority: Minor


Currently, if you call 'list' in the shell and there's an error describing a table the whole
command will fail.  It'd be nice to wrap the describe[1] in a try..catch so that a single
bad table wouldn't cause the whole listing to fail.  The output, for example, could be something
like...

enabled - table1
disabled - table2
error - table3 
enabled - table4

[1] - https://github.com/apache/incubator-blur/blob/master/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java#L39



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message