You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org> on 2008/11/27 11:59:44 UTC

[jira] Commented: (HIVE-77) thread safe query execution

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

Joydeep Sen Sarma commented on HIVE-77:
---------------------------------------

this patch includes:
- test for multithreaded execution
- fixes to SessionState.java and CliDriver.java for MT safe (and to run MT tests)

however - the test is disabled. while this seems to fix issues with session management etc. - there are bugs in metastore client code that are not resolved. i would like to file a separate jira for those.

unfortunately metastore client issues are not limited to DDLTasks only - regular table metadata fetches are also affected. (the patch allows testing of clientpositive queries without running DDL commands in MT mode - but in an extremely hacky way)

> thread safe query execution
> ---------------------------
>
>                 Key: HIVE-77
>                 URL: https://issues.apache.org/jira/browse/HIVE-77
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Joydeep Sen Sarma
>         Attachments: hive-77.patch.1
>
>
> this came up in hive-30 where there's a multithreaded hive server in the works. at the minimum, the sessionstate objects should be thread local singletons. but filing a more general bug that can cover this issue + code audit for any other static variables + test suite for running queries from a multi-threaded environment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.