You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2018/06/14 19:18:00 UTC

[jira] [Commented] (HIVE-19892) Disable query results cache for for HiveServer2 doAs=true

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

Sergey Shelukhin commented on HIVE-19892:
-----------------------------------------

That makes sense to me. Is it also possible to add exception handling to it, so if it fails for some other reason the query doesn't fail?

> 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
>
>
> 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)