You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by David Medinets <da...@gmail.com> on 2012/06/22 22:35:15 UTC

Should session-specific iterators appear on config output?

I created a table with no iterators so all versions of a key were
stored. And I entered the same value three times. A scan shows the
three records. Then I attached a scan-only session-only
VersioningIterator to that table. The next scan showed only one value.
Perfect! But when I looked at the table configuration with 'config',
no iterators were listed. Does it make sense to display session-only
iterators also?

Re: Should session-specific iterators appear on config output?

Posted by Billie J Rinaldi <bi...@ugov.gov>.
On Friday, June 22, 2012 5:05:59 PM, "David Medinets" <da...@gmail.com> wrote:
> I'd be happy with a "Run 'info -v' for session-specific
> configurations." How is that option?

Sounds good to me.

Billie


> On Fri, Jun 22, 2012 at 5:01 PM, Billie J Rinaldi
> <bi...@ugov.gov> wrote:
> > On Friday, June 22, 2012 4:35:15 PM, "David Medinets"
> > <da...@gmail.com> wrote:
> >> I created a table with no iterators so all versions of a key were
> >> stored. And I entered the same value three times. A scan shows the
> >> three records. Then I attached a scan-only session-only
> >> VersioningIterator to that table. The next scan showed only one
> >> value.
> >> Perfect! But when I looked at the table configuration with
> >> 'config',
> >> no iterators were listed. Does it make sense to display
> >> session-only
> >> iterators also?
> >
> > Currently the only way to see a shell's scan iterators is with "info
> > -v". It seems like it would make sense to make it easier to find
> > that information, although I'm not sure if config is the appropriate
> > place. The scan iterators do not have to be stored in zookeeper, so
> > properties like those displayed by config are never created for
> > them. Perhaps we could display the scan iterator information you get
> > with "info -v" after the normal config properties when you use
> > "config". We could consider synthesizing fake properties for the
> > scan iterators, but I'd be reluctant to do so.
> >
> > Billie

Re: Should session-specific iterators appear on config output?

Posted by David Medinets <da...@gmail.com>.
I'd be happy with a "Run 'info -v' for session-specific
configurations." How is that option?

On Fri, Jun 22, 2012 at 5:01 PM, Billie J Rinaldi
<bi...@ugov.gov> wrote:
> On Friday, June 22, 2012 4:35:15 PM, "David Medinets" <da...@gmail.com> wrote:
>> I created a table with no iterators so all versions of a key were
>> stored. And I entered the same value three times. A scan shows the
>> three records. Then I attached a scan-only session-only
>> VersioningIterator to that table. The next scan showed only one value.
>> Perfect! But when I looked at the table configuration with 'config',
>> no iterators were listed. Does it make sense to display session-only
>> iterators also?
>
> Currently the only way to see a shell's scan iterators is with "info -v".  It seems like it would make sense to make it easier to find that information, although I'm not sure if config is the appropriate place.  The scan iterators do not have to be stored in zookeeper, so properties like those displayed by config are never created for them.  Perhaps we could display the scan iterator information you get with "info -v" after the normal config properties when you use "config".  We could consider synthesizing fake properties for the scan iterators, but I'd be reluctant to do so.
>
> Billie

Re: Should session-specific iterators appear on config output?

Posted by Billie J Rinaldi <bi...@ugov.gov>.
On Friday, June 22, 2012 4:35:15 PM, "David Medinets" <da...@gmail.com> wrote:
> I created a table with no iterators so all versions of a key were
> stored. And I entered the same value three times. A scan shows the
> three records. Then I attached a scan-only session-only
> VersioningIterator to that table. The next scan showed only one value.
> Perfect! But when I looked at the table configuration with 'config',
> no iterators were listed. Does it make sense to display session-only
> iterators also?

Currently the only way to see a shell's scan iterators is with "info -v".  It seems like it would make sense to make it easier to find that information, although I'm not sure if config is the appropriate place.  The scan iterators do not have to be stored in zookeeper, so properties like those displayed by config are never created for them.  Perhaps we could display the scan iterator information you get with "info -v" after the normal config properties when you use "config".  We could consider synthesizing fake properties for the scan iterators, but I'd be reluctant to do so.

Billie