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 D96AB109D8 for ; Tue, 7 Jan 2014 00:30:34 +0000 (UTC) Received: (qmail 94360 invoked by uid 500); 7 Jan 2014 00:30:34 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 94328 invoked by uid 500); 7 Jan 2014 00:30:34 -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 94319 invoked by uid 99); 7 Jan 2014 00:30:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 00:30:34 +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 texpilot@gmail.com designates 209.85.214.46 as permitted sender) Received: from [209.85.214.46] (HELO mail-bk0-f46.google.com) (209.85.214.46) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 00:30:29 +0000 Received: by mail-bk0-f46.google.com with SMTP id u15so26372bkz.33 for ; Mon, 06 Jan 2014 16:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Oakq9ZdaKPKJByZrkcrd3l+szCBvzq/WsjVd3H2asUo=; b=m9E1EZ3gxef8ECVfQFC7rpk6FtFfTofeh/4XqCw8kt8udNrP5FZiiD16j8Zk6hsUc1 3i5fy35iuxb/Lg7ZGpxuwPJFWPtiYHGQJyeiAkK67ki7P+Y6oTfaYcl2XcU+46fSgri5 puir3la0FOhZiSkUK1UG5yAkLVJ+tgtiTfvUdh3cZLf4oT6Gcbq/vCVBYW/ByrXtUt/9 hvAPlC284w7Pqne7YTDhOVxO7mdwurCFR3WXSiSEarUgIN6AQxWeMBuf7PgUiP/m3Mf+ QcefqGgPe7fPsz2xINvPmTxg+URMQ7EHoQ3MPt9nUkt16JZMkUmbdsTYEJoE7bkvDBTk 3Gcg== MIME-Version: 1.0 X-Received: by 10.204.114.12 with SMTP id c12mr1638182bkq.61.1389054607938; Mon, 06 Jan 2014 16:30:07 -0800 (PST) Received: by 10.205.88.1 with HTTP; Mon, 6 Jan 2014 16:30:07 -0800 (PST) Date: Mon, 6 Jan 2014 18:30:07 -0600 Message-ID: Subject: Knowing when an iterator is at the "last row/entry" From: "Terry P." To: user@accumulo.apache.org Content-Type: multipart/alternative; boundary=047d7bdc7a967afc0604ef567aec X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc7a967afc0604ef567aec Content-Type: text/plain; charset=UTF-8 Greetings folks, I have an iterator that extends RowFilter and I have a case where I need to know when its defined date format doesn't match the format of the data being scanned by the iterator. I don't want to flood the tserver log with an error per row (how horrid that would be), but instead keep a counter of the number of times that error occurs during a scan or major compaction. Trouble is, I don't see any way to know when an iterator is on the "last row" or "last entry" in its scan on a tabletserver, as if I could test for that, I could then dump my single log message with the count of date format parse errors for that scan/compaction. Anyone know a way to determine if an iterator is at the "last entry" or "last row" of its execution? Many thanks in advance. --047d7bdc7a967afc0604ef567aec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Greetings folks,
I have an iterator that extends RowFilter and I have a case where I ne= ed to know when its defined date format doesn't match the format of the= data being scanned by the iterator.=C2=A0 I don't want to flood the ts= erver log with an error per row (how horrid that would=C2=A0be), but instea= d keep a counter of the number of times that error occurs during a scan or = major compaction.
=C2=A0
Trouble is, I don't see any way to know when an iterator is on the= "last row" or "last entry" in its scan on a tabletserv= er, as if I could test for that, I could then dump my single log message wi= th the count of date format parse errors for that scan/compaction.
=C2=A0
Anyone know a way to determine if an iterator is at the "last ent= ry" or "last row" of its execution?
=C2=A0
Many thanks in advance.
--047d7bdc7a967afc0604ef567aec--