Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo >> mail # dev >> Shell setiter/setscaniter commands

Copy link to this message
Shell setiter/setscaniter commands
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
Eric Newton 2011-11-08, 20:11
Billie J Rinaldi 2011-11-10, 20:13
Jim Klucar 2011-11-15, 15:51
Billie J Rinaldi 2011-11-15, 16:03
Jim Klucar 2011-11-15, 16:13