Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7423

NoSuchMethodError when starting Sentry in the minicluster

    XMLWordPrintableJSON

Details

    • ghx-label-3

    Description

      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
      

      Attachments

        Activity

          People

            fredyw Fredy Wijaya
            fredyw Fredy Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: