hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-16517) HiveStatement thread safety issues
Date Mon, 24 Apr 2017 15:14:04 GMT
Peter Vary created HIVE-16517:
---------------------------------

             Summary: HiveStatement thread safety issues
                 Key: HIVE-16517
                 URL: https://issues.apache.org/jira/browse/HIVE-16517
             Project: Hive
          Issue Type: Bug
            Reporter: Peter Vary


{{BeeLine}}, and {{Commands}} classes shares one HiveStatement between multiple threads for
querying the logs, and running the queries.

We can not make the HiveStatement thread safe, but we should at least make sure that calling
{{getQueryLog}} will not cause problems if it is called parallel with any of the followings:
{{cancel}}, {{close}}, {{execute}}, {{executeAsync}}, {{executeQuery}}, {{executeUpdate}},
{{getUpdateCount}} and more interestingly for the {{HiveQueryResultSet.next}} too.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message