You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2015/06/04 02:12:38 UTC

[jira] [Updated] (HIVE-10922) In HS2 doAs=false mode, file system related errors in one query causes other failures

     [ https://issues.apache.org/jira/browse/HIVE-10922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated HIVE-10922:
---------------------------------
    Attachment: HIVE-10922.1.patch

> In HS2 doAs=false mode, file system related errors in one query causes other failures
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-10922
>                 URL: https://issues.apache.org/jira/browse/HIVE-10922
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 1.2.0, 1.1.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-10922.1.patch
>
>
> Warehouse class has a few methods that close file system object on errors.
> With doAs=false, since all queries use the same HS2 ugi, the filesystem object is shared across queries/threads. When the close on one filesystem object gets called, it leads to filesystem object used in other threads also get closed and any files registered for deletion on exit also getting deleted.
> There is also no close being done in case of the happy code path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)