You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2013/02/04 22:12:12 UTC

[jira] [Updated] (ACCUMULO-1038) Code snippet for constructing iterators has wrong argument order

     [ 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