[
https://issues.apache.org/jira/browse/HIVE-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652211#action_12652211
]
Edward Capriolo commented on HIVE-77:
-------------------------------------
Log4j has a variable that will print the thread name.
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html
%t should do it.
> 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.