You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2021/07/14 07:06:26 UTC
[phoenix] branch master updated: PHOENIX-6514 Exception should be
thrown
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push:
new 9c9dd0b PHOENIX-6514 Exception should be thrown
9c9dd0b is described below
commit 9c9dd0b4358b07bbcd35ae7d04fe2e9c121fedeb
Author: Wei-Chiu Chuang <we...@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 18787ec..e15ac43 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
@@ -285,7 +285,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;
}