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

Dapeng Sun edited comment on SENTRY-872 at 6/1/16 5:30 AM:
-----------------------------------------------------------

Thank [~cmccabe] for the design.
Here are my comments:
To avoiding Hive MetaStore send many duplicate information to Sentry Server, if 
Hive side can provide the Hive replication support, it would be good. I think 
another solution would be selecting a leader from HiveMetaListeners when Hive 
Metastores starting, in sync mode, other listeners must wait the leader finish 
sync the metadata to Sentry. After the leader Metastore started, other 
Metastore could be back to work.

About Sentry HA, currently sentry server service is stateless, it's better to 
keep it stateless and not cover it to active/passive mode, since we have plan 
to persist {{Sentry Update Log}} to database. I think sentry servers could 
share states by Zookeeper and database.




was (Author: dapengsun):
Thank [~cmccabe] for the design.
Here are my comments:
To avoiding Hive MetaStore send many duplicate information to Sentry Server, if 
Hive side can provide the Hive replication support, it would be good. I think 
another solution would be selecting a leader from HiveMetaListeners when Hive 
Metastores starting, in sync mode, other listeners must wait the leader finish 
sync the metadata to Sentry. After the leader Metastore started, other 
Metastore could be back to work.
About Sentry HA, currently sentry server service is stateless, it's better to 
keep it stateless and not cover it to active/passive mode, since we have plan 
to persist {{Sentry Update Log}} to database. I think sentry servers could 
share states by Zookeeper and database.



> Uber jira for HMS HA + Sentry HA with HDFS plugin improvements
> --------------------------------------------------------------
>
>                 Key: SENTRY-872
>                 URL: https://issues.apache.org/jira/browse/SENTRY-872
>             Project: Sentry
>          Issue Type: Improvement
>          Components: Hdfs Plugin
>    Affects Versions: 1.5.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>             Fix For: 1.8.0
>
>         Attachments: SENTRY-872.0.patch, SENTRY-872.pdf, SENTRY-872_design.pdf
>
>




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

Reply via email to