[
https://issues.apache.org/jira/browse/SENTRY-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848885#comment-15848885
]
Alexander Kolbasov commented on SENTRY-1593:
--------------------------------------------
I tried to compile the code with the patch applied and got some errors:
{code}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
(default-testCompile) on project sentry-hdfs-service: Compilation failure:
Compilation failure:
[ERROR]
/Volumes/Dev/apache/sentry-ha/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/SentryHdfsServiceIntegrationBase.java:[57,26]
cannot find symbol
[ERROR] symbol: variable SERVER_RPC_ADDRESS
[ERROR] location: class org.apache.sentry.hdfs.ServiceConstants.ClientConfig
[ERROR]
/Volumes/Dev/apache/sentry-ha/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/SentryHdfsServiceIntegrationBase.java:[59,26]
cannot find symbol
[ERROR] symbol: variable SERVER_RPC_ADDRESS
[ERROR] location: class org.apache.sentry.hdfs.ServiceConstants.ClientConfig
[ERROR]
/Volumes/Dev/apache/sentry-ha/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/SentryHdfsServiceIntegrationBase.java:[61,26]
cannot find symbol
[ERROR] symbol: variable SERVER_RPC_PORT
[ERROR] location: class org.apache.sentry.hdfs.ServiceConstants.ClientConfig
[ERROR]
/Volumes/Dev/apache/sentry-ha/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/SentryHdfsServiceIntegrationBase.java:[65,28]
cannot find symbol
[ERROR] symbol: variable SECURITY_MODE
[ERROR] location: class org.apache.sentry.hdfs.ServiceConstants.ClientConfig
[ERROR]
/Volumes/Dev/apache/sentry-ha/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/SentryHdfsServiceIntegrationBase.java:[66,28]
cannot find symbol
[ERROR] symbol: variable SECURITY_USE_UGI_TRANSPORT
[ERROR] location: class org.apache.sentry.hdfs.ServiceConstants.ClientConfig
[ERROR]
/Volumes/Dev/apache/sentry-ha/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/SentryHdfsServiceIntegrationBase.java:[67,28]
cannot find symbol
[ERROR] symbol: variable PRINCIPAL
[ERROR] location: class org.apache.sentry.hdfs.ServiceConstants.ClientConfig
[ERROR] -> [Help 1]
{code}
> Implement client failover for Generic clients
> ---------------------------------------------
>
> Key: SENTRY-1593
> URL: https://issues.apache.org/jira/browse/SENTRY-1593
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: sentry-ha-redesign
> Reporter: Alexander Kolbasov
> Assignee: kalyan kumar kalvagadda
> Labels: HA
> Fix For: sentry-ha-redesign
>
> Attachments: old_service_client_class_diagram.png,
> SENTRY-1593.001-sentry-ha-redesign.patch, service_client_class_diagram.png
>
>
> We need to have client failover logic for Generic service clients - currently
> it is only implemented for Hive clients.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)