From user-return-2277-apmail-accumulo-user-archive=accumulo.apache.org@accumulo.apache.org Fri Apr 12 13:57:13 2013 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 19DEE104FD for ; Fri, 12 Apr 2013 13:57:13 +0000 (UTC) Received: (qmail 47609 invoked by uid 500); 12 Apr 2013 13:57:13 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 47434 invoked by uid 500); 12 Apr 2013 13:57:12 -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 47421 invoked by uid 99); 12 Apr 2013 13:57:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 13:57:12 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cypris87@gmail.com designates 74.125.82.181 as permitted sender) Received: from [74.125.82.181] (HELO mail-we0-f181.google.com) (74.125.82.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 13:57:06 +0000 Received: by mail-we0-f181.google.com with SMTP id r6so345189wey.26 for ; Fri, 12 Apr 2013 06:56:46 -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=+bNrQ1kGy2GaN2q7jQBwKiYFD4nEVgSDgWQev+QZALg=; b=OK92np8au/Pj1+i+uC7nXPeZ25kPCJ9VL3wuCkc8nCpLQSq5H0fgS5atPkwmuCrqgC 0YPjYSKJdBXTi3Fx5Y9yepU2DhYEvwVwAUyEP6CqahJsDyDSY9PYC5igsrw7rgfDAqzZ aMZa4ZJ+ac5CuEevn0jczIE54DjNiaC2E/ZAUFt5xdVR7NgRohJdGCxUEl684sTQFy+M WBj0FGaOgHu6lQtL98oHPggNQ9tr1IySATWM50avCP2/4WYIMQJLZKW0w7NSGiW2+G1x ZIjyuG6GtLnOpHMBm4Oo5KI6YxibRCwHm/vsTC+JNttycFsMQNLI2suQw/ZiWe6aApBU wWqA== MIME-Version: 1.0 X-Received: by 10.180.10.105 with SMTP id h9mr4219795wib.34.1365775005975; Fri, 12 Apr 2013 06:56:45 -0700 (PDT) Received: by 10.194.88.201 with HTTP; Fri, 12 Apr 2013 06:56:45 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Apr 2013 09:56:45 -0400 Message-ID: Subject: Re: Iterator name already in use with AccumuloInputFormat? From: Chris Sigman To: user Content-Type: multipart/alternative; boundary=001a11c2636613359b04da2a4690 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2636613359b04da2a4690 Content-Type: text/plain; charset=ISO-8859-1 Thanks guys. Yes, I was using AccumuloInputFormat, in 1.4.2, and was not specifying a name. I thought that it worked the first time without issue, but I must have been mistaken. It's working now though, so thanks! -- Chris On Thu, Apr 11, 2013 at 5:15 PM, Billie Rinaldi wrote: > 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 >> > > --001a11c2636613359b04da2a4690 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks guys. =A0Yes, I was using AccumuloInputFormat, in 1= .4.2, and was not specifying a name. I thought that it worked the first tim= e without issue, but I must have been mistaken. =A0It's working now tho= ugh, so thanks!


--
Chris


On Thu, Apr 11, 2013 at 5:15 PM, Billie = Rinaldi <billie.rinaldi@gmail.com> wrote:
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


--001a11c2636613359b04da2a4690--