[ https://issues.apache.org/jira/browse/SENTRY-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16772349#comment-16772349 ]
Hadoop QA commented on SENTRY-2500: ----------------------------------- Here are the results of testing the latest attachment https://issues.apache.org/jira/secure/attachment/12959310/SENTRY-2500.003.patch against master. {color:red}Overall:{color} -1 due to 4 errors {color:red}ERROR:{color} mvn test exited 1 {color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestShowMetadataPrivileges {color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestShowMetadataPrivileges {color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestShowMetadataPrivileges Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/4384/console This message is automatically generated. > CREATE on server does not provide HMS server side read authorization for > get_all_tables(database_name) > ------------------------------------------------------------------------------------------------------ > > Key: SENTRY-2500 > URL: https://issues.apache.org/jira/browse/SENTRY-2500 > Project: Sentry > Issue Type: Bug > Components: Sentry > Affects Versions: 2.2.0 > Reporter: Na Li > Assignee: Na Li > Priority: Major > Attachments: SENTRY-2500.001.patch, SENTRY-2500.002.patch, > SENTRY-2500.003.patch > > > If a user has CREATE privileges on server, they are not able to see any > tables with the direct call to the HMS api method get_all_tables when server > side filtering is enabled. > Ideally, CREATE privileges on server should give one an unfiltered view of > the tables when the user with that privilege calls HMS api method > get_all_tables(database_name). > The solution is to add "CREATE" privilege as one of the required privileges > (any one of the privilege will allow) in listing table operation. -- This message was sent by Atlassian JIRA (v7.6.3#76005)