[jira] [Commented] (HIVE-1539) Concurrent metastore threading problem
[ https://issues.apache.org/jira/browse/HIVE-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15530543#comment-15530543 ] Sharath MK commented on HIVE-1539: -- I'm facing the same problem. I'm not able to run concurrent query using JDBC java program. If any one solved, please direct me to some example java program. Thanks > Concurrent metastore threading problem > --- > > Key: HIVE-1539 > URL: https://issues.apache.org/jira/browse/HIVE-1539 > Project: Hive > Issue Type: Bug > Components: Metastore >Affects Versions: 0.7.0 >Reporter: Bennie Schut >Assignee: Bennie Schut > Attachments: ClassLoaderResolver.patch, HIVE-1539-1.patch, > HIVE-1539.patch, thread_dump_hanging.txt > > > When running hive as a service and running a high number of queries > concurrently I end up with multiple threads running at 100% cpu without any > progress. > Looking at these threads I notice this thread(484e): > at > org.apache.hadoop.hive.metastore.ObjectStore.getMTable(ObjectStore.java:598) > But on a different thread(63a2): > at > org.apache.hadoop.hive.metastore.model.MStorageDescriptor.jdoReplaceField(MStorageDescriptor.java) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-14851) Trying to run two query concurrently, but getting error.
[ 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)
[jira] [Updated] (HIVE-14851) Trying to run two query concurrently, but getting error.
[ https://issues.apache.org/jira/browse/HIVE-14851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sharath MK updated HIVE-14851: -- Attachment: hive_error.PNG Error screenshot > 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 > > > 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)