accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3475) Shell.config()'s return value is ignored.
Date Wed, 14 Jan 2015 18:27:35 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277387#comment-14277387
] 

Josh Elser commented on ACCUMULO-3475:
--------------------------------------

We don't have well-defined codes for specific errors. You can see that you got non-zero return
code (and that an error happened), but you can't really extrapolate anything else meaningful
from it.

> Shell.config()'s return value is ignored.
> -----------------------------------------
>
>                 Key: ACCUMULO-3475
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3475
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.5.3, 1.6.2, 1.7.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {{Shell.config()}} returns a boolean which is true if there was an error configuring
the shell, but the value is never observed. This can result in other unintended errors (like
trying to use the ConsoleReader member when it's not initialized).



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

Mime
View raw message