You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/07/06 00:01:26 UTC

[jira] [Commented] (SENTRY-1329) Adapt SentryMetaStorePostEventListener to write HMS notification logs

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

Hadoop QA commented on SENTRY-1329:
-----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12816341/SENTRY-1329.2-sentry-hs-redesign.patch against sentry-hs-redesign.

{color:red}Overall:{color} -1 due to an error

{color:red}ERROR:{color} git checkout sentry-hs-redesign failed

Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/1831/console

This message is automatically generated.

> Adapt SentryMetaStorePostEventListener to write HMS notification logs
> ---------------------------------------------------------------------
>
>                 Key: SENTRY-1329
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1329
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Hdfs Plugin
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>             Fix For: sentry-ha-redesign
>
>         Attachments: SENTRY-1329.0.patch, SENTRY-1329.1-sentry-ha-redesign.patch, SENTRY-1329.2-sentry-hs-redesign.patch
>
>
> After some preliminary testing of HMS NotificationLog in Sentry (SENTRY-1324), we see that NotificationLog does not capture some information today. See this [comment| https://issues.apache.org/jira/browse/SENTRY-1324?focusedCommentId=15330859&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15330859] for more information. 
> So with respect to capturing this information, the minimally invasive approach is to just implement a custom MessageFactory (hcatalog.message.factory.impl.json), which takes care of the serialization and deseriazation of the message. We can just add additional information without causing disruption to other clients.
> As I was implementing this, I encountered the problem that there is a small bug(in Hive trunk) which makes the MessageFactory not truly pluggable (HIVE-14011 - Attached a fix). But it would be a while before Hive can make a release with this fix and Sentry can move to this fixed version. 
> So in the interim, we can implement the Listener in Sentry and use custom MessageFactory as well. I have done some testing on my side to make sure it does not break other clients.



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