[
https://issues.apache.org/jira/browse/HIVE-19892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16514373#comment-16514373
]
Jason Dere commented on HIVE-19892:
-----------------------------------
The stack trace above was from the logs I recovered from your case .. the put
didn't actually fail because there were no results to actually put into the
cache, so the put basically succeeded as a no-op. The fetch of results (now
"moved" to the results cache) failed due to permissions issues on the results
cache directory when it tried to get the non-existent result path.
Since the results cache (including saving to the cache) is disabled in this
patch, this situation should not occur.
> Disable query results cache for for HiveServer2 doAs=true
> ---------------------------------------------------------
>
> Key: HIVE-19892
> URL: https://issues.apache.org/jira/browse/HIVE-19892
> Project: Hive
> Issue Type: Sub-task
> Reporter: Jason Dere
> Assignee: Jason Dere
> Priority: Major
> Fix For: 3.1.0
>
> Attachments: HIVE-19892.1.patch, HIVE-19892.2.patch
>
>
> If running HS2 with doAs=true, the temp query results directory will have
> ownership/permissions based on the doAs user. A subsequent query running as a
> different user may not be able to access this query results directory.
> Results caching will have to be disabled in this case.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)