Re: Number of hive-server2 threads increments after jdbc connection

2014-05-05 Thread Dima Fadeyev
Hi, I have ipc.client.connection.maxidletime set to default (10 sec). The hive-server2 threads (and tcp connections to zookeeper) stay active forever. I guess these issues might be related but they are not the same. Regards, Dima Fadeyev El 05/05/14 03:47, Shengjun Xin escribió: Is it same

Re: Number of hive-server2 threads increments after jdbc connection

2014-05-04 Thread Shengjun Xin
Is it same with https://issues.apache.org/jira/browse/HIVE-6866 ? On Tue, Apr 29, 2014 at 8:26 PM, Dima Fadeyev wrote: > Hi, Chinna. Thanks for your reply. > > Yes, modifying code solves the problem. This is what my code looks like (a > piece of it): > > Connection con = > DriverManager.ge

Re: Number of hive-server2 threads increments after jdbc connection

2014-04-29 Thread Dima Fadeyev
Hi, Chinna. Thanks for your reply. Yes, modifying code solves the problem. This is what my code looks like (a piece of it): Connection con = DriverManager.getConnection("jdbc:hive2://localhost:1/default", "hive", "hive"); Statement stmt = con.createStatement(); String tableN

Re: Number of hive-server2 threads increments after jdbc connection

2014-04-29 Thread Chinna Rao Lalam
Hi, In your code if more connections and statements are created?. If so, closed those connections? After use close unused connections and statements. Hope It Helps, Chinna On Tue, Apr 29, 2014 at 3:47 PM, Dima Fadeyev wrote: > Hello everyone, > > When I run a jdbc example from > https://c

Number of hive-server2 threads increments after jdbc connection

2014-04-29 Thread Dima Fadeyev
Hello everyone, When I run a jdbc example from https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-JDBCClientSampleCode against my hive server, the number of hive-server2 threads increments. If I execute it long enough I either start seeing exceptions Exce