Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6683DF987 for ; Thu, 11 Apr 2013 21:15:42 +0000 (UTC) Received: (qmail 8186 invoked by uid 500); 11 Apr 2013 21:15:42 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 8131 invoked by uid 500); 11 Apr 2013 21:15:42 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 8120 invoked by uid 99); 11 Apr 2013 21:15:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2013 21:15:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of billie.rinaldi@gmail.com designates 209.85.219.41 as permitted sender) Received: from [209.85.219.41] (HELO mail-oa0-f41.google.com) (209.85.219.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2013 21:15:37 +0000 Received: by mail-oa0-f41.google.com with SMTP id f4so1965614oah.14 for ; Thu, 11 Apr 2013 14:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Df4lWeWD5YI0bKyCFfKLUrpFr9lIKDmz7erMa+eQlzc=; b=xy3SImR1dPCoo0DBT9NblXiQSLogQjzI/6qwkzfKZTEt8zJrk7EGmdTXSRYRO86Exd D9g7XLjLRV1l7SmUg7g3IUeUgxpNFMOOwMD9FcThwfLLHMYFvgK/rDWkoEG5dt1uuzZE MMwfJzCJxB5tm17CVbjjz7cjEpWfaliL2uSST1LHAYvxuoLyscrXcR/5ecWAqv6HuTT9 yiSizvLPlCYtQJJHEs7d06+mjQflRqSW0EHo8zeqm5VIAcnd6ZxcyKh0z6FkWYm9fHeA 635vGTQ2kwMUaGmbKwSry3A3kHurLWOoEB4i0b/ksLVoAxqbGXOU1gSjcbHTZ9IuC1Bl qbcA== MIME-Version: 1.0 X-Received: by 10.60.83.113 with SMTP id p17mr2896309oey.31.1365714917194; Thu, 11 Apr 2013 14:15:17 -0700 (PDT) Received: by 10.76.144.195 with HTTP; Thu, 11 Apr 2013 14:15:17 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Apr 2013 14:15:17 -0700 Message-ID: Subject: Re: Iterator name already in use with AccumuloInputFormat? From: Billie Rinaldi To: "user@accumulo.apache.org" Content-Type: multipart/alternative; boundary=089e0116070881029604da1c48f1 X-Virus-Checked: Checked by ClamAV on apache.org --089e0116070881029604da1c48f1 Content-Type: text/plain; charset=ISO-8859-1 To summarize the issue: whenever you add a RegExFilter using the recommended method AccumuloInputFormat.addIterator in 1.4, and you haven't explicitly specified a name for your iterator, an error is thrown saying the name is in use. This is because the input format always sets a RegExFilter to handle the deprecated method of setting regex on the input format, even if that method isn't used. See ACCUMULO-1267. This issue can be avoided by specifying a name for the iterator when creating the IteratorSetting. On Thu, Apr 11, 2013 at 11:13 AM, Keith Turner wrote: > On Thu, Apr 11, 2013 at 2:10 PM, Chris Sigman wrote: > > I've just run a job for the second time where I've called addIterator > with a > > RegExFilter, and it's saying that the filter name is already in use. > When I > > try to scan using the shell though, the iterator's not there... what's > going > > on? > > Are you using the same java process to start two map reduce jobs when > you see this? > > > > > Thanks, > > -- > > Chris > --089e0116070881029604da1c48f1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
To summarize the issue: whenever you add a RegExFilter usi= ng the recommended method AccumuloInputFormat.addIterator in 1.4, and you h= aven't explicitly specified a name for your iterator, an error is throw= n saying the name is in use.=A0 This is because the input format always set= s a RegExFilter to handle the deprecated method of setting regex on the inp= ut format, even if that method isn't used.=A0 See ACCUMULO-1267.=A0 Thi= s issue can be avoided by specifying a name for the iterator when creating = the IteratorSetting.


On Thu, Apr 1= 1, 2013 at 11:13 AM, Keith Turner <keith@deenlo.com> wrote:
On Thu, Apr 11, 2013 at 2:10 PM, Chris = Sigman <cypris87= @gmail.com> wrote:
> I've just run a job for the second time where I= 9;ve called addIterator with a
> RegExFilter, and it's saying that the filter name is already in us= e. =A0When I
> try to scan using the shell though, the iterator's not there... wh= at's going
> on?

Are you using the same java process to start two map reduce job= s when
you see this?

>
> Thanks,
> --
> Chris

--089e0116070881029604da1c48f1--