This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch 4.16 in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.16 by this push: new 9f5587e PHOENIX-6514 Exception should be thrown 9f5587e is described below commit 9f5587e2d386a243b980dbe17cf513231907c500 Author: Wei-Chiu Chuang <weic...@apache.org> AuthorDate: Wed Jul 14 11:17:43 2021 +0800 PHOENIX-6514 Exception should be thrown Change-Id: I626eb3878a29e1467835c48f8f446edc72ed04c8 --- .../java/org/apache/phoenix/coprocessor/PhoenixAccessController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixAccessController.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixAccessController.java index 4ca9ff2..e668137 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixAccessController.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixAccessController.java @@ -281,7 +281,7 @@ public class PhoenixAccessController extends BaseMetaDataEndpointObserver { AccessControlClient.grant(conn, TableName.valueOf(table), toUser , null, null, actions); } catch (Throwable e) { - new DoNotRetryIOException(e); + throw new DoNotRetryIOException(e); } return null; }