Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2521

sentry的.thrift通信报错

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 1.5.1
    • 1.5.1
    • Sentry
    • None
    • 部署:chd5.16 操作系统cnetos7  cpu:80c内存:128G

    Description

      sentry部署的是HA模式,其中一台报错如下:

      2019-05-30 16:21:58,704 WARN org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessor: timed out wait request for id 621976
      java.util.concurrent.TimeoutException
      at org.apache.sentry.service.thrift.CounterWait$ValueEvent.waitFor(CounterWait.java:299)
      at org.apache.sentry.service.thrift.CounterWait.waitFor(CounterWait.java:212)
      at org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessor.syncEventId(SentryPolicyStoreProcessor.java:1166)
      at org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessor.sentry_notify_hms_event(SentryPolicyStoreProcessor.java:1047)
      at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$sentry_notify_hms_event.getResult(SentryPolicyService.java:1491)
      at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$sentry_notify_hms_event.getResult(SentryPolicyService.java:1476)
      at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
      at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
      at org.apache.sentry.provider.db.service.thrift.SentryProcessorWrapper.process(SentryProcessorWrapper.java:36)
      at org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123)
      at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

      另一台:

      2019-05-30 16:24:43,358 INFO hive.metastore: Closed a connection to metastore, current connections: 11
      2019-05-30 16:24:43,360 INFO hive.metastore: Trying to connect to metastore with URI thrift://ubd-hadoop-m0004:9083
      2019-05-30 16:24:43,360 INFO hive.metastore: Opened a connection to metastore, current connections: 12
      2019-05-30 16:24:43,361 INFO hive.metastore: Connected to metastore.
      2019-05-30 16:24:43,459 INFO hive.metastore: Closed a connection to metastore, current connections: 11
      2019-05-30 16:24:43,461 INFO hive.metastore: Trying to connect to metastore with URI thrift://ubd-hadoop-m0004:9083

      Attachments

        Activity

          People

            Unassigned Unassigned
            niushaolong 牛少龙
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: