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

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

fixed all the inline comments and moved multithreaded query harness to 
QTestUtil. 

> ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java:391 Where is this 
> function called from?
This is a temporary hack for non-DDL related metastore issues.

also - i am actually able to run TestMTqueries succesfully now. funnily all the 
metastore issues are not showing up. There were some more changes required:
- randomize hadoop execution directories for local mode execution (otherwise 
there are collisions when submitting jobs concurrently)
- fix taskfactory id to be threadlocal static


> thread safe query execution
> ---------------------------
>
>                 Key: HIVE-77
>                 URL: https://issues.apache.org/jira/browse/HIVE-77
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Server Infrastructure
>            Reporter: Joydeep Sen Sarma
>            Assignee: Joydeep Sen Sarma
>         Attachments: hive-77.patch.1, hive-77.patch.2, hive-77.patch.3
>
>
> 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.

Reply via email to