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.

Out of Memory with Sentry in CDH 5.13.0...

Highlighted

Out of Memory with Sentry in CDH 5.13.0...

Explorer

Hi all,

I'm having some problem with Sentry Server Service with CDH 5.13.0, I get always the Out Of Memory Error (see details below). I set the Java Heap Size of Sentry Server to 20GB but nothing changes.

 

So how many memory needs Sentry in this distribution in order to work properly? I installed also the last JDK 1.8 recommended/tested by Cloudera Support (jdk1.8.0_144), in order to avoid the OOM problems described in this page: Sentry process crashes with OOM upon reaching array length limit -> (https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_rn_sentry_ki.html#known_i...)

 

Wed Mar 14 10:00:34 CET 2018
JAVA_HOME=/usr/java/jdk1.8.0_144
using /usr/java/jdk1.8.0_144 as JAVA_HOME
using 5 as CDH_VERSION
CONF_DIR=/run/cloudera-scm-agent/process/1339-sentry-SENTRY_SERVER
CMF_CONF_DIR=/etc/cloudera-scm-agent
java.lang.OutOfMemoryError: Java heap space
Dumping heap to /tmp/sentry_sentry-SENTRY_SERVER-d10c9b77dd1630224482e04687363c69_pid45642.hprof ...
Heap dump file created [14390378080 bytes in 18.036 secs]
#
# java.lang.OutOfMemoryError: Java heap space
# -XX:OnOutOfMemoryError="/usr/lib64/cmf/service/common/killparent.sh"
#   Executing /bin/sh -c "/usr/lib64/cmf/service/common/killparent.sh"...

 

Any help on this issue will be appreciated!

Many thanks in advance!

Regards,

Alex