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

Bennie Schut commented on HIVE-1482:
------------------------------------

The proxy sounds like an interesting approach. It will probably synchronize a 
little more then we need but it's a lot safer and the normal use case is 
calling the methods sequentially anyway so not much loss there.

Doing a little mutithreading test is a good idea. I've had some HIVE_PLAN 
exceptions in the past (different jira) which would probably also become 
visible then. I'll have a look.

Thanks.

> Not all jdbc calls are threadsafe.
> ----------------------------------
>
>                 Key: HIVE-1482
>                 URL: https://issues.apache.org/jira/browse/HIVE-1482
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Drivers
>    Affects Versions: 0.7.0
>            Reporter: Bennie Schut
>            Assignee: Bennie Schut
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1482-1.patch
>
>
> As per jdbc spec they should be threadsafe:
> http://download.oracle.com/docs/cd/E17476_01/javase/1.3/docs/guide/jdbc/spec/jdbc-spec.frame9.html

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