[ 
https://issues.apache.org/jira/browse/HIVE-14851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sharath MK updated HIVE-14851:
------------------------------
    Attachment: hiveserver2.log

Hiveserver logs

> Trying to run two query concurrently, but getting error. 
> ---------------------------------------------------------
>
>                 Key: HIVE-14851
>                 URL: https://issues.apache.org/jira/browse/HIVE-14851
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 1.2.1
>         Environment: Hortonworks
>            Reporter: Sharath MK
>            Priority: Blocker
>         Attachments: hive_error.PNG, hiveserver2.log
>
>
> Hi,
> I'm trying to use same hive connection object and running two thread by 
> passing connection object.
> In Runnable class constructor i'm creating statement object and in run 
> function i'm trying to query and displaying result.
> Please help me how to run concurrent query using JDBC java program.
> But when i try running i'm getting below error,
> java.sql.SQLException: org.apache.thrift.transport.TTransportException
>       at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:262)
>       at 
> org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:392)
>       at com.infy.Runn.executeQuery(Runn.java:51)
>       at com.infy.Runn.run(Runn.java:30)
>       at java.lang.Thread.run(Unknown Source)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to