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

Prasad Mujumdar commented on HIVE-4166:
---------------------------------------

[~cdrome] If are using the trunk, you might want to try enabling the 
impersonation via hive.server2.enable.impersonation instead of 
hive.server2.enable.doAs. The impersonation in that case is handled at the 
HiveSession level instead of thrift processor level.

                
> closeAllForUGI causes failure in hiveserver2 when fetching large amount of 
> data
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-4166
>                 URL: https://issues.apache.org/jira/browse/HIVE-4166
>             Project: Hive
>          Issue Type: Bug
>          Components: Security, Shims
>    Affects Versions: 0.10.0, 0.11.0
>            Reporter: Chris Drome
>            Assignee: Chris Drome
>
> HiveServer2 configured to use Kerberos authentication with doAs enabled 
> throws an exception when fetching a large amount of data from a query.
> The exception is caused because FileSystem.closeAllForUGI is always called at 
> the end of TUGIAssumingProcessor.process. This affects requests on the 
> ResultSet for data from a SELECT query when the amount of data exceeds a 
> certain size. At that point any subsequent calls to fetch more data throw an 
> exception because the underlying DFSClient has been closed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to