Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/14107 )
Change subject: KUDU-2921: Exposing the table statistics to spark relation. ...................................................................... Patch Set 1: (1 comment) http://gerrit.cloudera.org:8080/#/c/14107/1/src/kudu/master/catalog_manager.cc File src/kudu/master/catalog_manager.cc: http://gerrit.cloudera.org:8080/#/c/14107/1/src/kudu/master/catalog_manager.cc@2906 PS1, Line 2906: return SetupError(authz_provider_->AuthorizeGetTableMetadata(table_name, username), I'm not sure these required permissions are correct for protecting this endpoint. Other systems like Impala require "ALL ON TABLE", whereas this is more like "ANY ON TABLE". https://www.cloudera.com/documentation/enterprise/latest/topics/impala_authorization.html We may need to extend the AuthzProvider interface to support this. It would also be good to get Hao Hao's input, since she is very knowledgable in this area. -- To view, visit http://gerrit.cloudera.org:8080/14107 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I7742a76708f989b0ccc8ba417f3390013e260175 Gerrit-Change-Number: 14107 Gerrit-PatchSet: 1 Gerrit-Owner: ZhangYao <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241) Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Comment-Date: Tue, 20 Aug 2019 18:01:38 +0000 Gerrit-HasComments: Yes
