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

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

Commit 37c080bfa8f11542450045e35f99bb132ac8296c in impala's branch 
refs/heads/master from [~tlipcon]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=37c080b ]

IMPALA-7137 fixup: only recreate AuthorizationChecker on full delta updates

This is a follow-up to commit a90b42911f1753b14e4f9f581bad837e33dcf9bf
which had an unintended side-effect even when LocalCatalog is not
enabled: previously we would only re-instantiate AuthorizationChecker on
"full" catalog updates; after that patch, we would re-instantiate it on
every catalog update.

While it appears that this is relatively cheap and didn't cause any
obvious behavioral changes, it wasn't intended, and one of the goals of
the --use_local_catalog flag being optional is that the existing code
paths shouldn't be affected. So, this puts it back the way it was.

Thanks to Adam Holley for noticing this and alerting me to my mistake.

Change-Id: I47f5945fd64c0adf3fe7fd82076f64672358f962
Reviewed-on: http://gerrit.cloudera.org:8080/11357
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Reviewed-by: Todd Lipcon <t...@apache.org>


> Support configuring impalad to use the LocalCatalog
> ---------------------------------------------------
>
>                 Key: IMPALA-7137
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7137
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Major
>             Fix For: Impala 3.1.0
>
>
> This JIRA tracks adding a gflag '--use_local_catalog' which will tell the 
> frontend to instantiate LocalCatalog instead of ImpaladCatalog. In addition, 
> the lifecycle needs to be managed slightly differently, since LocalCatalog 
> expects to be instantiated once per query whereas ImpaladCatalog is stateful 
> across queries.



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

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

Reply via email to