You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Gary Clark <gc...@neces.com> on 2015/07/28 16:08:26 UTC

hive-server2 crashing OOM error

Hello,

I have been pushing large amount of data into a location which hive uses to map to. I am now seeing this. Not sure but its caused the hiveserver2 to crash.
Anybody else seen this? Looks like my heap is exhausted. Don’t know what would cause this.

[user@master bin]# ./hive --service hiveserver2 start &
[2] 30831
You have mail in /var/spool/mail/root
[user@master bin]# /usr/local/hadoop-2.6.0
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/apache-hive-1.0.0-bin/lib/hive-jdbc-1.0.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

[user@master bin]# Exception in thread "HiveServer2-Handler-Pool: Thread-21" java.lang.OutOfMemoryError: Java heap space
        at org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:353)
        at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:215)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
        at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)

Thanks,
Gazza