You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Billie Rinaldi (Updated) (JIRA)" <ji...@apache.org> on 2011/11/22 01:17:41 UTC

[jira] [Updated] (ACCUMULO-129) shell requires iterators to implement OptionDescriber

     [ https://issues.apache.org/jira/browse/ACCUMULO-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Billie Rinaldi updated ACCUMULO-129:
------------------------------------

    Fix Version/s:     (was: 1.5.0)
                   1.4.0
    
> shell requires iterators to implement OptionDescriber
> -----------------------------------------------------
>
>                 Key: ACCUMULO-129
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-129
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.3.5
>            Reporter: Eric Newton
>            Assignee: Billie Rinaldi
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> Jim Klucar writes:
> {quote}
> Currently the org.apache.accumulo.core.util.shell.commands.SetIterCommand
> requires that the iterator implement the OptionDescriber interface (line
> 128). This prevents using some useful iterators at the shell, for instance
> the DebugIterator. A nice way to learn how iterators work is to set this
> iterator, use "debug on" at the shell and start scanning different ways.
> There are two possible solutions that I see. One is to make all iterators
> delivered with Accumulo implement OptionDescriber, and document this shell
> quirk, or to use reflection in the shell code to see if the iterator class
> implements OptionDescriber, otherwise just ensure it implements
> SortedKeyValueIterator.
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira