Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA30D10172 for ; Mon, 2 Feb 2015 23:14:29 +0000 (UTC) Received: (qmail 20606 invoked by uid 500); 2 Feb 2015 23:14:30 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 20554 invoked by uid 500); 2 Feb 2015 23:14:30 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 20477 invoked by uid 99); 2 Feb 2015 23:14:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 23:14:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 64179E0504; Mon, 2 Feb 2015 23:14:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: elserj@apache.org To: commits@accumulo.apache.org Date: Mon, 02 Feb 2015 23:14:31 -0000 Message-Id: In-Reply-To: <3cfef03ae57b4eaebcb69ef154406887@git.apache.org> References: <3cfef03ae57b4eaebcb69ef154406887@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/6] accumulo git commit: ACCUMULO-3556 Improve "scanner closed" error message. ACCUMULO-3556 Improve "scanner closed" error message. When a client sees a "scanner closed" exception come out of the BatchScanner impl, it is not intuitive that the problem is within their code and not in Accumulo itself. Provide a strong error message to inform the user that the problem is in their code and not an Accumulo bug. Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4e8471a3 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4e8471a3 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4e8471a3 Branch: refs/heads/1.6 Commit: 4e8471a3fa115083f9e930b92388150a8095846a Parents: 8b54f13 Author: Josh Elser Authored: Mon Feb 2 18:08:39 2015 -0500 Committer: Josh Elser Committed: Mon Feb 2 18:08:39 2015 -0500 ---------------------------------------------------------------------- .../core/client/impl/TabletServerBatchReaderIterator.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/4e8471a3/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java b/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java index 894616e..b23008e 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java @@ -208,8 +208,12 @@ public class TabletServerBatchReaderIterator implements Iterator