Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Sentry Server Resident Memory Usage

Highlighted

Sentry Server Resident Memory Usage

Explorer

Dear Cloudera Team,

 

We are facing Sentry Server Resident Memory Usage issue.
During the past couple of weeks we've noticed a few Resident Memory spikes.
The usage was instantly increased during ~1 min period from 2.6 GB to 3.5 GB.
Log review didn't help much.
Please find the log piece below:

 

2016-12-08 01:26:11,637 ERROR org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessor: Unknown error for request: null, message: null
java.lang.NullPointerException
at org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessor.list_sentry_privileges_for_provider(SentryPolicyStoreProcessor.java:531)
at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$list_sentry_privileges_for_provider.getResult(SentryPolicyService.java:993)
at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$list_sentry_privileges_for_provider.getResult(SentryPolicyService.java:978)
at sentry.org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at sentry.org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.sentry.provider.db.service.thrift.SentryProcessorWrapper.process(SentryProcessorWrapper.java:48)
at sentry.org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123)
at sentry.org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
1 REPLY 1

Re: Sentry Server Resident Memory Usage

Explorer

Found error, maybe it's relevant:

ERROR sentry.org.apache.thrift.server.TThreadPoolServer: Thrift error occurred during processing of message.
sentry.org.apache.thrift.TException: Service name not found: ^@^@^@7SentryPolicyService.  Did you forget to call registerProcessor()?
       at sentry.org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:111)
       at sentry.org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       at java.lang.Thread.run(Thread.java:745)