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

Ashish Thusoo commented on HIVE-77:
-----------------------------------

@Joy

I meant rolling up the TestMTQueries into QTestUtil so that we just have a 
single tool to deal with when it comes to query testing.

%t as suggested by Edward should work for now. Later when we expand this so 
that a thread is able to handle multiple sessions (a requirement on JDBC) we 
can start exploring NDC and MDCs to log thread specific information.

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