The Hive Metastore Crashes on BDA V4.2 with "java.lang.OutOfMemoryError: Java heap space" (Doc ID 2087149.1)

Last updated on DECEMBER 09, 2015

Applies to:

Big Data Appliance Integrated Software - Version 4.2.0 and later
Linux x86-64

Symptoms

The Hive Metastore crashes. 

The associated /var/run/cloudera-scm-agent/process/<id>-hive-HIVEMETASTORE/logs/stdout.log file on Node 4 of the cluster (default the Hive Server node) shows OOM errors:

# 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"...

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms