[
https://issues.apache.org/jira/browse/SENTRY-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anne Yu reassigned SENTRY-850:
------------------------------
Assignee: Sravya Tirukkovalur (was: Anne Yu)
Thanks for the cr!
> Fix dbprovider test failures when run on a real cluster or
> setMetastoreListener = true, when db/tab gets recreated their associated
> privileges will be deleted.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SENTRY-850
> URL: https://issues.apache.org/jira/browse/SENTRY-850
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.5.0, 1.5.1
> Reporter: Anne Yu
> Assignee: Sravya Tirukkovalur
> Attachments: SENTRY-850-0.patch, SENTRY-850-1.patch,
> SENTRY-850-2.patch, SENTRY-850-3.patch
>
>
> There are a couple of tests fail because they create db(table) /grant
> privileges, then drop/recreate db(table), when run on real clusters or
> setMetastoreListener = true, these privileges will be deleted. These tests
> are located in:
> org.apache.sentry.tests.e2e.dbprovider.TestDbUriPermissions.testAlterTableLocationPrivileges
> org.apache.sentry.tests.e2e.dbprovider.TestColumnEndToEnd.testBasic
> org.apache.sentry.tests.e2e.dbprovider.TestDbPrivilegesAtDatabaseScope.testUseDbPrivilege
> org.apache.sentry.tests.e2e.dbprovider.TestDbRuntimeMetadataRetrieval.testShowTables3
> org.apache.sentry.tests.e2e.dbprovider.TestDbRuntimeMetadataRetrieval.testShowTablesExtended
> org.apache.sentry.tests.e2e.dbprovider.TestDbRuntimeMetadataRetrieval.testShowTables1
> org.apache.sentry.tests.e2e.dbprovider.TestDbSandboxOps.testNegativeUserDMLPrivileges
> org.apache.sentry.tests.e2e.dbprovider.TestDbSandboxOps.testNegUserPrivilegesAll
> org.apache.sentry.tests.e2e.dbprovider.TestDbSandboxOps.testSandboxOpt13
> org.apache.sentry.tests.e2e.dbprovider.TestDbSandboxOps.testSandboxOpt10
> org.apache.sentry.tests.e2e.dbprovider.TestDbUriPermissions.testLoadPrivileges
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)