You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by David Medinets <da...@gmail.com> on 2012/01/05 18:28:19 UTC

iterator priority conflict in README.combiner

Here is the relevant section of README.combiner:

    $ bin/accumulo shell -u username
    Enter current password for 'username'@'instance': ***

    Shell - Accumulo Interactive Shell
    -
    - version: 1.5.x-incubating
    - instance name: instance
    - instance id: 00000000-0000-0000-0000-000000000000
    -
    - type 'help' for a list of available commands
    -
    username@instance> createtable runners
    username@instance runners> setiter -t runners -p 10 -scan -minc
-majc -n decStats -class
org.apache.accumulo.examples.combiner.StatsCombiner
    Combiner that keeps track of min, max, sum, and count
    ----------> set StatsCombiner parameter columns, <col fam>[:<col
qual>]{,<col fam>[:<col qual>]} escape non aplhanum chars using
%<hex>.: stat
    ----------> set StatsCombiner parameter radix, radix/base of the numbers: 10
    username@instance runners> setiter -t runners -p 10 -scan -minc
-majc -n hexStats -class
org.apache.accumulo.examples.combiner.StatsCombiner
    Combiner that keeps track of min, max, sum, and count
    ----------> set StatsCombiner parameter columns, <col fam>[:<col
qual>]{,<col fam>[:<col qual>]} escape non aplhanum chars using
%<hex>.: hstat
    ----------> set StatsCombiner parameter radix, radix/base of the numbers: 16

The last command results in an error:

  05 12:24:15,852 [shell.Shell] ERROR:
java.lang.IllegalArgumentException: iterator priority conflict:
table.iterator.majc.decStats=10,org.apache.accumulo.examples.combiner.StatsCombiner

My interpretation is that the -p parameter can't be the same for both
setiter commands. If anyone confirms this, I'll make a JIRA ticket.

Re: iterator priority conflict in README.combiner

Posted by Billie J Rinaldi <bi...@ugov.gov>.
On Thursday, January 5, 2012 12:28:19 PM, "David Medinets" <da...@gmail.com> wrote:
> The last command results in an error:
> 
> 05 12:24:15,852 [shell.Shell] ERROR:
> java.lang.IllegalArgumentException: iterator priority conflict:
> table.iterator.majc.decStats=10,org.apache.accumulo.examples.combiner.StatsCombiner
> 
> My interpretation is that the -p parameter can't be the same for both
> setiter commands. If anyone confirms this, I'll make a JIRA ticket.

Yes, that's correct.

Billie