accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-846) Options validation is inconsistent
Date Tue, 18 Dec 2012 16:06:15 GMT


Billie Rinaldi commented on ACCUMULO-846:

It's a better practice to throw exceptions so information about what went wrong is propagated,
so the methods should do that when possible.  Iterators should also make sure to check the
boolean returned by super.validateOptions.
> Options validation is inconsistent
> ----------------------------------
>                 Key: ACCUMULO-846
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>             Fix For: 1.5.0
> The validateOptions method is used to validate iterator options when configuring them
via the setiter command in the shell.  It is implemented inconsistently, sometimes throwing
an exception to indicate bad options and sometimes catching the exception and returning false.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message