You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2014/11/13 23:44:34 UTC

[jira] [Commented] (HIVE-6468) HS2 & Metastore using SASL out of memory error when curl sends a get request

    [ https://issues.apache.org/jira/browse/HIVE-6468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211405#comment-14211405 ] 

Vaibhav Gumashta commented on HIVE-6468:
----------------------------------------

Patch attached is based on 0.14.0 geared towards 0.14.1. Added fix for Metastore SASL and HiveServer2 Kerberos SASL in addition to the Plain SASL fix that the previous patch had.

cc [~thejas] [~navis]

> HS2 & Metastore using SASL out of memory error when curl sends a get request
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-6468
>                 URL: https://issues.apache.org/jira/browse/HIVE-6468
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, Metastore
>    Affects Versions: 0.12.0
>         Environment: Centos 6.3, hive 12, hadoop-2.2
>            Reporter: Abin Shahab
>            Assignee: Navis
>             Fix For: 0.14.1
>
>         Attachments: HIVE-6468.1.patch.txt, HIVE-6468.2.patch.txt, HIVE-6468.3.patch
>
>
> We see an out of memory error when we run simple beeline calls.
> (The hive.server2.transport.mode is binary)
> curl localhost:10000
> 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.3.4#6332)