Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5657D200CC6 for ; Tue, 18 Jul 2017 15:53:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 54F2B166DEC; Tue, 18 Jul 2017 13:53:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9B8FB166DEA for ; Tue, 18 Jul 2017 15:53:04 +0200 (CEST) Received: (qmail 29147 invoked by uid 500); 18 Jul 2017 13:53:03 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 29138 invoked by uid 99); 18 Jul 2017 13:53:03 -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; Tue, 18 Jul 2017 13:53:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 78BBADFF36; Tue, 18 Jul 2017 13:53:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tedyu@apache.org To: commits@hbase.apache.org Message-Id: <4390ca822d3e47eebccd1426c3794cda@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-18377 Error handling for FileNotFoundException should consider RemoteException in openReader() Date: Tue, 18 Jul 2017 13:53:01 +0000 (UTC) archived-at: Tue, 18 Jul 2017 13:53:05 -0000 Repository: hbase Updated Branches: refs/heads/branch-1.4 0616811fa -> ce677583d HBASE-18377 Error handling for FileNotFoundException should consider RemoteException in openReader() Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/ce677583 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/ce677583 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/ce677583 Branch: refs/heads/branch-1.4 Commit: ce677583deac236fa94b3edbb8e61a4095e43831 Parents: 0616811 Author: tedyu Authored: Tue Jul 18 06:52:54 2017 -0700 Committer: tedyu Committed: Tue Jul 18 06:52:54 2017 -0700 ---------------------------------------------------------------------- .../regionserver/WALEntryStream.java | 22 +++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/ce677583/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java index c4d552c..4f49955 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java @@ -41,6 +41,7 @@ import org.apache.hadoop.hbase.util.LeaseNotRecoveredException; import org.apache.hadoop.hbase.wal.WAL.Entry; import org.apache.hadoop.hbase.wal.WAL.Reader; import org.apache.hadoop.hbase.wal.WALFactory; +import org.apache.hadoop.ipc.RemoteException; /** * Streaming access to WAL entries. This class is given a queue of WAL {@link Path}, and continually @@ -316,6 +317,15 @@ public class WALEntryStream implements Iterator, Closeable, Iterable, Closeable, Iterable