accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billie Rinaldi <billie.rina...@gmail.com>
Subject Re: Too Many Versions!
Date Thu, 13 Mar 2014 21:03:38 GMT
In the shell, you can use the following command to remove the iterator
named "vers":
    deleteiter -t tableName -n vers -minc -majc -scan

In Java, it looks like:
    connector.tableOperations().removeIterator(tableName, "vers",
EnumSet.allOf(IteratorScope.class));



On Thu, Mar 13, 2014 at 1:58 PM, John Armstrong <jrja@ccri.com> wrote:

> On Thu 13 Mar 2014 04:54:43 PM EDT, Billie Rinaldi wrote:
>
>> Instead of setting maxVersions large, it would be better to remove the
>> iterator from the table.
>> Also, iterator names are expected to be unique, so having "vers" be the
>> name of the default
>> versioning iterator and your scan versioning iterator is not recommended.
>>  It might be possible to
>> override the options of an existing iterator for a particular scan.
>>
>> Given your configuration, I would expect the scan time option of
>> maxVersions=1 to be used for both
>> your scan time iterator and the table iterator of the same name.
>>
>
> Thanks, this is useful.  The documentation we'd found seemed to indicate
> that there would be a limit on the number of copies kept, and this was the
> way to increase that limit.  You're saying that we can actually remove the
> versioning iterator from the table entirely.  How should I go about doing
> that?
>
>
>

Mime
View raw message