[ 
https://issues.apache.org/jira/browse/ACCUMULO-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Keith Turner updated ACCUMULO-1038:
-----------------------------------

    Fix Version/s: 1.5.0
    
> Code snippet for constructing iterators has wrong argument order
> ----------------------------------------------------------------
>
>                 Key: ACCUMULO-1038
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1038
>             Project: Accumulo
>          Issue Type: Bug
>          Components: docs
>    Affects Versions: 1.4.2
>            Reporter: Michael Berman
>            Assignee: David Medinets
>            Priority: Critical
>             Fix For: 1.5.0
>
>
> On the "Table Configuration" doc page, in the section "Setting Iterators 
> Programatically" (at 
> http://accumulo.apache.org/1.4/user_manual/Table_Configuration.html#Iterators),
>  there is the following code snippet:
> {code}
> scanner.addIterator(new IteratorSetting(
>     15, // priority
>     "com.company.MyIterator", // class name
>     "myiter" // name this iterator
> ));
> {code}
> The actual constructor signature for IteratorSetting is (priority, name, 
> iteratorClass).  The second and third arguments should be flipped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to