hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-10922) In HS2 doAs=false mode, file system related errors in one query causes other failures
Date Thu, 04 Jun 2015 00:12:38 GMT

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

Mime
View raw message