hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharath MK (JIRA)" <>
Subject [jira] [Created] (HIVE-14851) Trying to run two query concurrently, but getting error.
Date Wed, 28 Sep 2016 18:48:20 GMT
Sharath MK created HIVE-14851:

             Summary: Trying to run two query concurrently, but getting error. 
                 Key: HIVE-14851
             Project: Hive
          Issue Type: Bug
          Components: JDBC
    Affects Versions: 1.2.1
         Environment: Hortonworks
            Reporter: Sharath MK
            Priority: Blocker


I'm trying to use same hive connection object and running two thread by passing connection
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(
	at org.apache.hive.jdbc.HiveStatement.executeQuery(
	at com.infy.Runn.executeQuery(
	at Source)

This message was sent by Atlassian JIRA

View raw message