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

Sravya Tirukkovalur commented on SENTRY-780:
--------------------------------------------

See 
https://github.com/apache/incubator-sentry/blob/198bef5dd6061260c7c2f34fea27e434be4985ec/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegration.java#L537
 for an example.

> HDFS Plugin should not execute path callbacks for views
> -------------------------------------------------------
>
>                 Key: SENTRY-780
>                 URL: https://issues.apache.org/jira/browse/SENTRY-780
>             Project: Sentry
>          Issue Type: Bug
>          Components: Hdfs Plugin, Hive Plugin
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Prasad Mujumdar
>            Assignee: Ryan P
>         Attachments: SENTRY-780.patch
>
>
> Metastore plugin {{SentryMetastorePostEventListener}} fires the HDFS path 
> callbacks for view operations as well. Since views changes 
> (create/alter/drop) are metadata only changes, we should not execute any HDFS 
> callback here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to