You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Dapeng Sun (JIRA)" <ji...@apache.org> on 2014/11/12 13:47:34 UTC

[jira] [Commented] (SENTRY-464) Sentry service register and using InvocationHandler for SentryPolicyServiceClientFactory high availability

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

Dapeng Sun commented on SENTRY-464:
-----------------------------------

Rebase with master

> Sentry service register and using InvocationHandler for SentryPolicyServiceClientFactory high availability
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-464
>                 URL: https://issues.apache.org/jira/browse/SENTRY-464
>             Project: Sentry
>          Issue Type: Sub-task
>            Reporter: Dapeng Sun
>            Assignee: Dapeng Sun
>         Attachments: SENTRY-464-002.patch, SENTRY-464.003.patch, SENTRY-464.patch
>
>
> * Add service register in SentryPolicyStoreProcessor
> * Add HASentryPolicyServiceClientImpl as a HA implementation for SentryPolicyServiceClient, it can select active node which registered in Zookeeper
> * Add InvocationHandler, use SentryPolicyServiceClientDefaultImpl as a field, this make all HA method can reuse the same logic for retry.



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