From 3a11028cdfc6e44576069bed452a0ed10c860db1 Mon Sep 17 00:00:00 2001 From: xcang Date: Tue, 15 Jan 2019 17:31:51 -0800 Subject: [PATCH] Throw DNRIOE when connection or rpc client is closed Signed-off-by: Andrew Purtell --- .../apache/hadoop/hbase/ipc/StoppedRpcClientException.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/StoppedRpcClientException.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/StoppedRpcClientException.java index c11cb2878d3..70e49d1e182 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/StoppedRpcClientException.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/StoppedRpcClientException.java @@ -17,13 +17,13 @@ */ package org.apache.hadoop.hbase.ipc; +import org.apache.hadoop.hbase.DoNotRetryIOException; import org.apache.hadoop.hbase.classification.InterfaceAudience; import org.apache.hadoop.hbase.classification.InterfaceStability; -import org.apache.hadoop.hbase.HBaseIOException; @InterfaceAudience.Public @InterfaceStability.Evolving -public class StoppedRpcClientException extends HBaseIOException { +public class StoppedRpcClientException extends DoNotRetryIOException { public StoppedRpcClientException() { super(); }