[ https://issues.apache.org/jira/browse/HIVE-6468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906649#comment-13906649 ]
Abin Shahab commented on HIVE-6468: ----------------------------------- This is how we build hive: export HADOOP_VERSION=2.2.0 ant clean package tar -Dhadoop.version=${HADOOP_VERSION} -Dhadoop-0.23.version=${HADOOP_VERSION} -Dhadoop.mr.rev=23 -Dmvn.hadoop.profile=hadoop23 -Dhadoop23.version=${HADOOP_VERSION} > HS2 out of memory error with Beeline > ------------------------------------ > > Key: HIVE-6468 > URL: https://issues.apache.org/jira/browse/HIVE-6468 > Project: Hive > Issue Type: Bug > Affects Versions: 0.12.0 > Environment: Centos 6.3, hive 12, hadoop-2.2 > Reporter: Abin Shahab > > We see an out of memory error when we run simple beeline calls. > (The hive.server2.transport.mode is binary) > beeline -u jdbc:hive2://localhost:10000 -n user1 -d > org.apache.hive.jdbc.HiveDriver -e "create table test1 (id) int;" > Exception in thread "pool-2-thread-8" 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) -- This message was sent by Atlassian JIRA (v6.1.5#6160)