accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1038) Code snippet for constructing iterators has wrong argument order
Date Fri, 01 Mar 2013 20:19:12 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590900#comment-13590900
] 

Eric Newton commented on ACCUMULO-1038:
---------------------------------------

Added Michael Berman as a Contributor.
                
> 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

Mime
View raw message