Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03288DFF3 for ; Sat, 2 Mar 2013 04:17:16 +0000 (UTC) Received: (qmail 71944 invoked by uid 500); 2 Mar 2013 04:17:15 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 71903 invoked by uid 500); 2 Mar 2013 04:17:15 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 71861 invoked by uid 99); 2 Mar 2013 04:17:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Mar 2013 04:17:15 +0000 Date: Sat, 2 Mar 2013 04:17:15 +0000 (UTC) From: "Hudson (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1038) Code snippet for constructing iterators has wrong argument order MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591274#comment-13591274 ] Hudson commented on ACCUMULO-1038: ---------------------------------- Integrated in Accumulo-Trunk-Hadoop-2.0 #114 (See [https://builds.apache.org/job/Accumulo-Trunk-Hadoop-2.0/114/]) ACCUMULO-1038 commiting patch provided by Michael Berman (Revision 1451703) Result = SUCCESS ecn : Files : * /accumulo/trunk * /accumulo/trunk/assemble * /accumulo/trunk/core * /accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex * /accumulo/trunk/examples * /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java * /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java * /accumulo/trunk/server * /accumulo/trunk/src > 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