[ https://issues.apache.org/jira/browse/SENTRY-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16671651#comment-16671651 ]
Hadoop QA commented on SENTRY-2441: ----------------------------------- Here are the results of testing the latest attachment https://issues.apache.org/jira/secure/attachment/12946542/SENTRY-2441.001.patch against master. {color:red}Overall:{color} -1 due to 2 errors {color:red}ERROR:{color} mvn test exited 1 {color:red}ERROR:{color} Failed: org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/4221/console This message is automatically generated. > When MAuthzPathsMapping is deleted all associated MPaths should be deleted > automatically. > ----------------------------------------------------------------------------------------- > > Key: SENTRY-2441 > URL: https://issues.apache.org/jira/browse/SENTRY-2441 > Project: Sentry > Issue Type: Bug > Components: Sentry > Affects Versions: 2.2.0 > Reporter: kalyan kumar kalvagadda > Assignee: kalyan kumar kalvagadda > Priority: Major > Attachments: SENTRY-2441.001.patch > > > When MAuthzPathsMapping is deleted all associated MPaths should be deleted > automatically as MPaths are directly associated to MAuthzPathsMapping. > > Currently when entries in MAuthzPathsMapping are deleted the FK in MPaths is > set to NULL and the entries are left. These elements are slate are not not > used and will never be cleaned. > > > Instead MPaths should be removed automatically associated MAuthzPathsMapping > entries are deleted. -- This message was sent by Atlassian JIRA (v7.6.3#76005)