accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3633) Please provide information on implementing custom iterators in the documentation
Date Tue, 10 Mar 2015 21:12:39 GMT


Josh Elser commented on ACCUMULO-3633:

When I did the first draft, I was thinking about how best to express what the call path really
looks like. I'll see if I can make some sort of flow diagram.

Slightly more usable, I was thinking about creating some kind of "fuzzing" framework for Iterators.
It would be a tool that accepts a {{SortedMap<Key,Value>}} and an Iterator class and
just performs a bunch of random scans over the data. We could provide it to users as an initial
entry point to testing their iterators as running them in the tabletserver's JVM is more difficult
to debug than a single JVM.

I've been thinking about it for a while -- I'm not entirely convinced if it would be a good
long-term solution (as the framework would copy what the tabletserver does, not be guaranteed
to do exactly what the tabletserver does). I think I want to at least stub it out and see
how it "feels" to use as a testing tool.

> Please provide information on implementing custom iterators in the documentation
> --------------------------------------------------------------------------------
>                 Key: ACCUMULO-3633
>                 URL:
>             Project: Accumulo
>          Issue Type: Wish
>          Components: docs
>    Affects Versions: 1.6.0
>         Environment: Centos 6.5, Accumulo 1.6.0, CDH 5. 
>            Reporter: Vaibhav Thapliyal
>            Assignee: Josh Elser
>              Labels: documentation
>             Fix For: 1.7.0
>         Attachments: 0001-ACCUMULO-3633-User-manual-chapter-on-custom-iterator.patch
> Dear all,
> Can you please provide a documentation regarding creating custom Iterators. For example,
explain the functionality  of the functions inside SortedKeyValueIterator and how to override
those functions.
> Please explain how these functions are executed (which class calls these functions when
the iterator executes).
> I would appreciate if these changes are made in your future documentations as this would
help developers who are new to accumulo to quickly get started on writing their own custom
iterators which is an essential part of accumulo. 

This message was sent by Atlassian JIRA

View raw message