You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Fredy Wijaya (JIRA)" <ji...@apache.org> on 2018/08/10 18:43:00 UTC

[jira] [Updated] (IMPALA-7423) NoSuchMethodError when starting Sentry in the minicluster

     [ https://issues.apache.org/jira/browse/IMPALA-7423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fredy Wijaya updated IMPALA-7423:
---------------------------------
    Description: 
{noformat}
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.sentry.api.service.thrift.SentryPolicyServiceClientDefaultImpl.<init>(Lorg/apache/hadoop/conf/Configuration;Lsentry/org/apache/sentry/core/common/transport/SentryTransportPool;)V
at org.apache.sentry.service.thrift.SentryServiceClientFactory.create(SentryServiceClientFactory.java:90)
at org.apache.sentry.service.thrift.SentryServiceClientFactory.create(SentryServiceClientFactory.java:68)
at org.apache.impala.util.SentryPolicyService$SentryServiceClient.createClient(SentryPolicyService.java:91)
at org.apache.impala.util.SentryPolicyService$SentryServiceClient.<init>(SentryPolicyService.java:64)
at org.apache.impala.util.SentryPolicyService.listAllRoles(SentryPolicyService.java:395)
at org.apache.impala.testutil.SentryServicePinger.main(SentryServicePinger.java:81)
Error in /home/impdev/Impala/testdata/bin/run-sentry-service.sh at line 39: "$JAVA" -cp $CLASSPATH org.apache.impala.testutil.SentryServicePinger \
Error in /home/impdev/Impala/testdata/bin/run-all.sh at line 61: tee ${IMPALA_CLUSTER_LOGS_DIR}/run-sentry-service.log
{noformat}

  was:
{noformat}
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging. Exception in thread "main" java.lang.NoSuchMethodError: org.apache.sentry.api.service.thrift.SentryPolicyServiceClientDefaultImpl.<init>(Lorg/apache/hadoop/conf/Configuration;Lsentry/org/apache/sentry/core/common/transport/SentryTransportPool;)V at org.apache.sentry.service.thrift.SentryServiceClientFactory.create(SentryServiceClientFactory.java:90) at org.apache.sentry.service.thrift.SentryServiceClientFactory.create(SentryServiceClientFactory.java:68) at org.apache.impala.util.SentryPolicyService$SentryServiceClient.createClient(SentryPolicyService.java:91) at org.apache.impala.util.SentryPolicyService$SentryServiceClient.<init>(SentryPolicyService.java:64) at org.apache.impala.util.SentryPolicyService.listAllRoles(SentryPolicyService.java:395) at org.apache.impala.testutil.SentryServicePinger.main(SentryServicePinger.java:81) Error in /home/impdev/Impala/testdata/bin/run-sentry-service.sh at line 39: "$JAVA" -cp $CLASSPATH org.apache.impala.testutil.SentryServicePinger \ Error in /home/impdev/Impala/testdata/bin/run-all.sh at line 61: tee ${IMPALA_CLUSTER_LOGS_DIR}/run-sentry-service.log
{noformat}


> NoSuchMethodError when starting Sentry in the minicluster
> ---------------------------------------------------------
>
>                 Key: IMPALA-7423
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7423
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 3.0
>            Reporter: Fredy Wijaya
>            Assignee: Fredy Wijaya
>            Priority: Major
>
> {noformat}
> ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
> Exception in thread "main" java.lang.NoSuchMethodError: org.apache.sentry.api.service.thrift.SentryPolicyServiceClientDefaultImpl.<init>(Lorg/apache/hadoop/conf/Configuration;Lsentry/org/apache/sentry/core/common/transport/SentryTransportPool;)V
> at org.apache.sentry.service.thrift.SentryServiceClientFactory.create(SentryServiceClientFactory.java:90)
> at org.apache.sentry.service.thrift.SentryServiceClientFactory.create(SentryServiceClientFactory.java:68)
> at org.apache.impala.util.SentryPolicyService$SentryServiceClient.createClient(SentryPolicyService.java:91)
> at org.apache.impala.util.SentryPolicyService$SentryServiceClient.<init>(SentryPolicyService.java:64)
> at org.apache.impala.util.SentryPolicyService.listAllRoles(SentryPolicyService.java:395)
> at org.apache.impala.testutil.SentryServicePinger.main(SentryServicePinger.java:81)
> Error in /home/impdev/Impala/testdata/bin/run-sentry-service.sh at line 39: "$JAVA" -cp $CLASSPATH org.apache.impala.testutil.SentryServicePinger \
> Error in /home/impdev/Impala/testdata/bin/run-all.sh at line 61: tee ${IMPALA_CLUSTER_LOGS_DIR}/run-sentry-service.log
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org