After investigating, the problem is indeed that Sentry updated the name of
the property. I filed a JIRA: https://issues.apache.
org/jira/browse/IMPALA-5686

I uploaded a code review that makes a change to our Sentry mini cluster xml
template file and started a GVO: https://gerrit.cloudera.org/#/c/7469/


On Wed, Jul 19, 2017 at 4:36 PM, Matthew Jacobs <[email protected]> wrote:

> +Bikram, who just got this in a gerrit-verify-dryrun job
>
> On Wed, Jul 19, 2017 at 4:32 PM, Taras Bobrovytsky
> <[email protected]> wrote:
> > When I run ./testdata/bin/run-all.sh I get the following:
> > Error in Impala/testdata/bin/run-all.sh at line 58:
> > $IMPALA_HOME/testdata/bin/run-sentry-service.sh
> >
> > run-sentry-service.log shows the following:
> > 17/07/19 16:22:23 ERROR testutil.SentryServicePinger: Error issuing RPC
> to
> > Sentry Service  (attempt 4/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(Sent
> ryPolicyService.java:391)
> >   at
> > org.apache.impala.testutil.SentryServicePinger.main(SentrySe
> rvicePinger.java:75)
> >
> > Caused by:
> > sentry.org.apache.sentry.core.common.exception.MissingConfig
> urationException:
> >   Property 'sentry.service.client.server.rpc-addresses' is missing in
> > configuration
> >   at
> > sentry.org.apache.sentry.core.common.transport.SentryPolicyC
> lientTransportConfig.
> >     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)
> >   ... 3 more
> >
> > In our fe/src/test/resources/sentry-site.xml.template we have
> > <name>sentry.service.client.server.rpc-address</name> instead of
> > sentry.service.client.server.rpc-address*es* as it says it in the
> > exception. Could this be the problem?
>

Reply via email to