Skip to content

Instantly share code, notes, and snippets.

@wjsl
Created January 29, 2016 20:58
Show Gist options
  • Save wjsl/a54b21a7c5b72b6b058f to your computer and use it in GitHub Desktop.
Save wjsl/a54b21a7c5b72b6b058f to your computer and use it in GitHub Desktop.
root@miniInstance> createtable foo
2016-01-29 15:56:40,399 INFO [MiniShell.main()] Shell.audit (Shell.java:execCommand(685)) - root@miniInstance> createtable foo
root@miniInstance foo> setiter -all -class org.apache.accumulo.core.iterators.user.RowDeletingIterator -p 10
2016-01-29 15:57:01,463 INFO [MiniShell.main()] Shell.audit (Shell.java:execCommand(685)) - root@miniInstance foo> setiter -all -class org.apache.accumulo.core.iterators.user.RowDeletingIterator -p 10
2016-01-29 15:57:01,530 WARN [MiniShell.main()] vfs.AccumuloVFSClassLoader (AccumuloVFSClassLoader.java:resolve(160)) - ignoring classpath entry file:///lib/ext/[^.].*.jar
The iterator class does not implement OptionDescriber. Consider this for better iterator configuration using this setiter command.
Name for iterator (enter to skip): org.apache.accumulo.core.iterators.user.RowDeletingIterator
Optional, configure name-value options for iterator:
----------> set option (<name> <value>, hit enter to skip):
root@miniInstance foo> config -t foo -f iterator
2016-01-29 15:57:23,720 INFO [MiniShell.main()] Shell.audit (Shell.java:execCommand(685)) - root@miniInstance foo> config -t foo -f iterator
-----------+------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------
SCOPE | NAME | VALUE
-----------+------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------
table | table.iterator.majc.org.apache.accumulo.core.iterators.user.RowDeletingIterator .. | 10,org.apache.accumulo.core.iterators.user.RowDeletingIterator
table | table.iterator.majc.vers ......................................................... | 20,org.apache.accumulo.core.iterators.user.VersioningIterator
table | table.iterator.majc.vers.opt.maxVersions ......................................... | 1
table | table.iterator.minc.org.apache.accumulo.core.iterators.user.RowDeletingIterator .. | 10,org.apache.accumulo.core.iterators.user.RowDeletingIterator
table | table.iterator.minc.vers ......................................................... | 20,org.apache.accumulo.core.iterators.user.VersioningIterator
table | table.iterator.minc.vers.opt.maxVersions ......................................... | 1
table | table.iterator.scan.org.apache.accumulo.core.iterators.user.RowDeletingIterator .. | 10,org.apache.accumulo.core.iterators.user.RowDeletingIterator
table | table.iterator.scan.vers ......................................................... | 20,org.apache.accumulo.core.iterators.user.VersioningIterator
table | table.iterator.scan.vers.opt.maxVersions ......................................... | 1
-----------+------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------
root@miniInstance foo> listiter -all
2016-01-29 15:57:30,494 INFO [MiniShell.main()] Shell.audit (Shell.java:execCommand(685)) - root@miniInstance foo> listiter -all
-
- Iterator vers, majc scope options:
- iteratorPriority = 20
- iteratorClassName = org.apache.accumulo.core.iterators.user.VersioningIterator
- maxVersions = 1
- Iterator vers, minc scope options:
- iteratorPriority = 20
- iteratorClassName = org.apache.accumulo.core.iterators.user.VersioningIterator
- maxVersions = 1
- Iterator vers, scan scope options:
- iteratorPriority = 20
- iteratorClassName = org.apache.accumulo.core.iterators.user.VersioningIterator
- maxVersions = 1
-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment