Reply
New Contributor
Posts: 4
Registered: ‎02-05-2015
Accepted Solution

HiveServer2 OnOutOfMemoryError

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?

 

 

 

Cloudera Employee
Posts: 35
Registered: ‎09-04-2013

Re: HiveServer2 OnOutOfMemoryError

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

New Contributor
Posts: 4
Registered: ‎02-05-2015

Re: HiveServer2 OnOutOfMemoryError

Understood. Thanks.