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.

HiveServer2 OnOutOfMemoryError

SOLVED Go to solution

HiveServer2 OnOutOfMemoryError

New Contributor

Hi,

After running hive job and take a look at ps -ef | grep hive, I see messages for hiveserver2 and hivemetastore like that:

 

...-Xms1073741824 -Xmx1073741824 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:-CMSConcurrentMTEnabled -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:OnOutOfMemoryError=/usr/lib64/cmf/service/common/killparent.sh...

Does it means, that where is not enough memory allocated for  hiveserver2 and hivemetastore java heap size parameters?

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: HiveServer2 OnOutOfMemoryError

Contributor
This just means, in the case of running out of memory, execute this script.
It doesn't mean there is not enough memory.

2 REPLIES 2

Re: HiveServer2 OnOutOfMemoryError

Contributor
This just means, in the case of running out of memory, execute this script.
It doesn't mean there is not enough memory.

Highlighted

Re: HiveServer2 OnOutOfMemoryError

New Contributor

Understood. Thanks.