hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rok Kralj <rok.kr...@gmail.com>
Subject java.lang.OutOfMemoryError: Java heap space
Date Wed, 20 Nov 2013 22:23:47 GMT
Hello, I am getting this error (appearing after sending *SHOW TABLES;*query).

$ hive --service hiveserver2
Starting HiveServer2
Exception in thread "pool-4-thread-1" java.lang.OutOfMemoryError: Java heap
space
at
org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:181)
at
org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125)
at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:253)
at
org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41)
at
org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216)
at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:189)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)


I have this line:

export HADOOP_HEAPSIZE=${HADOOP_HEAPSIZE:-2048}


in *hive-config.sh*. Thanks.

-- 
eMail: rok.kralj@gmail.com

Mime
View raw message