My Oracle Support Banner

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

Last updated on DECEMBER 12, 2019

Applies to:

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


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/"
# Executing /bin/sh -c "/usr/lib64/cmf/service/common/"...



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.