This is a method that changed names between the Hadoop2 and Hadoop3 profiles, and we have a shim in a compat directory in the fe/src. It’s likely you need to rebuild or are talking to the wrong version.
P On Thu, Mar 29, 2018 at 12:13 PM Michael Ho (JIRA) <[email protected]> wrote: > Michael Ho created IMPALA-6767: > ---------------------------------- > > Summary: java.lang.NoSuchMethodError: > org.apache.sentry.provider.db.service.thrift.SentryPolicyServiceClient.listAllRoles(Ljava/lang/String;)Ljava/util/Set; > Key: IMPALA-6767 > URL: https://issues.apache.org/jira/browse/IMPALA-6767 > Project: IMPALA > Issue Type: Bug > Components: Infrastructure > Affects Versions: Impala 2.12.0 > Reporter: Michael Ho > Attachments: archive.zip > > Sentry failed with the following errors when starting the mini-cluster. > It's unclear if it's due to a bad jar file or there was something else > broken. Attaching the build artifacts for reference. > > {noformat} > Stopping Sentry > log4j:WARN No such property [conversionPattern] in > org.apache.solr.util.SolrLogLayout. > 18/03/29 00:59:58 INFO transport.SentryTransportPool: Creating pool for > localhost with default port 30911 > 18/03/29 00:59:58 INFO transport.SentryTransportPool: Adding endpoint > localhost:30911 > 18/03/29 00:59:58 INFO transport.SentryTransportPool: Connection pooling > is enabled > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.sentry.provider.db.service.thrift.SentryPolicyServiceClient.listAllRoles(Ljava/lang/String;)Ljava/util/Set; > at org.apache.impala.util.SentryUtil.listRoles(SentryUtil.java:52) > at > org.apache.impala.util.SentryPolicyService.listAllRoles(SentryPolicyService.java:398) > at > org.apache.impala.testutil.SentryServicePinger.main(SentryServicePinger.java:75) > Error in /home/ubuntu/Impala/testdata/bin/run-sentry-service.sh at line > 36: "$JAVA" -cp $CLASSPATH org.apache.impala.testutil.SentryServicePinger \ > {noformat} > > > > -- > This message was sent by Atlassian JIRA > (v7.6.3#76005) >
