hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-77) thread safe query execution
Date Tue, 02 Dec 2008 00:11:45 GMT

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


Mime
View raw message