You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/01/04 21:53:00 UTC

[jira] [Commented] (IMPALA-7795) Add a command to refresh authorization data

    [ https://issues.apache.org/jira/browse/IMPALA-7795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16734606#comment-16734606 ] 

ASF subversion and git services commented on IMPALA-7795:
---------------------------------------------------------

Commit 05b09f259988f3022ed2d20055a4a57de540788f in impala's branch refs/heads/master from Fredy Wijaya
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=05b09f2 ]

IMPALA-7795: Implement REFRESH AUTHORIZATION statement

This patch implements REFRESH AUTHORIZATION statement to explicitly
refresh authorization metadata. This statement is useful to force
Impala to refresh its authorization metadata when there is an external
update to authorization metadata without having to wait for the Sentry
polling or call INVALIDATE METADATA. Some tests were updated to use
REFRESH AUTHORIZATION instead of INVALIDATE METADATA to make the tests
run faster.

Syntax:
REFRESH AUTHORIZATION (authorization must be enabled to execute this
statement)

Testing:
- Added new FE tests
- Added new E2E authorization tests
- Ran all FE tests
- Ran all E2E authorization tests

Change-Id: I5459e1c97b12dee307e0cf85b94a9f66fd9d9a8c
Reviewed-on: http://gerrit.cloudera.org:8080/11888
Reviewed-by: Fredy Wijaya <fw...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Add a command to refresh authorization data
> -------------------------------------------
>
>                 Key: IMPALA-7795
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7795
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Catalog, Frontend
>            Reporter: Fredy Wijaya
>            Assignee: Fredy Wijaya
>            Priority: Major
>             Fix For: Impala 3.2.0
>
>
> There is currently no way to refresh authorization data (privileges and principals) without calling "invalidate metadata" (which is very costly) and increasing the polling time. There needs to be a way to explicitly refresh the authorization data similar to "refresh functions".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org