You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Taras Bobrovytsky (JIRA)" <ji...@apache.org> on 2017/07/20 00:52:00 UTC

[jira] [Created] (IMPALA-5686) Update to Sentry causes build failures

Taras Bobrovytsky created IMPALA-5686:
-----------------------------------------

             Summary: Update to Sentry causes build failures
                 Key: IMPALA-5686
                 URL: https://issues.apache.org/jira/browse/IMPALA-5686
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
    Affects Versions: Impala 2.10.0
            Reporter: Taras Bobrovytsky
            Assignee: Taras Bobrovytsky


In a recent update to Sentry, the property name "sentry.service.client.server.rpc-address" was changed to "sentry.service.client.server.rpc-addresses". This causes the following exception when starting a mini cluster:
{code}
17/07/19 22:15:18 ERROR testutil.SentryServicePinger: Error issuing RPC to Sentry Service (attempt 2/30): 
org.apache.impala.common.InternalException: Error creating Sentry Service client: 
	at org.apache.impala.util.SentryPolicyService$SentryServiceClient.createClient(SentryPolicyService.java:96)
	at org.apache.impala.util.SentryPolicyService$SentryServiceClient.<init>(SentryPolicyService.java:67)
	at org.apache.impala.util.SentryPolicyService.listAllRoles(SentryPolicyService.java:391)
	at org.apache.impala.testutil.SentryServicePinger.main(SentryServicePinger.java:75)
Caused by: sentry.org.apache.sentry.core.common.exception.MissingConfigurationException: Property 'sentry.service.client.server.rpc-addresses' is missing in configuration
	at sentry.org.apache.sentry.core.common.transport.SentryPolicyClientTransportConfig.getSentryServerRpcAddress(SentryPolicyClientTransportConfig.java:73)
	at sentry.org.apache.sentry.core.common.transport.SentryTransportPool.<init>(SentryTransportPool.java:103)
	at org.apache.sentry.service.thrift.SentryServiceClientFactory.<init>(SentryServiceClientFactory.java:83)
	at org.apache.sentry.service.thrift.SentryServiceClientFactory.create(SentryServiceClientFactory.java:65)
	at org.apache.impala.util.SentryPolicyService$SentryServiceClient.createClient(SentryPolicyService.java:94)
{code}

This is also causing GVO failures, such as https://jenkins.impala.io/job/gerrit-verify-dryrun/886/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)