-RE: Thrift Server
Hezhiqiang 2012-06-30, 01:31
In my test, JDBC supported about 25 connections in the same time without delay.
If more connections , it will line up and timeout exception will happen.
From: VanHuy Pham [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 30, 2012 8:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Thrift Server
Thanks for the response.
I see. Would JDBC then be a better option for concurrent connections?
I am not aware of the implementation of hive-JDBC so wonder if it
support multiple connections?
On 6/29/12, Hezhiqiang (Ransom) <[EMAIL PROTECTED]> wrote:
> Hi Van
> Hive doesn’t supported multiple connections now.
> it's impossible for HiveServer to support concurrent connections
> using the current Thrift API
> you can see:
> From: VanHuy Pham [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 30, 2012 4:33 AM
> To: [EMAIL PROTECTED]
> Subject: Thrift Server
> Hi hive folks,
> Does hive thrift server support multiple requests from clients at the
> same time?
> It looks like the server serves the request sequentially, which means it
> processes each request one by one. Am I wrong here?
> I make two clients, which make two requests (select data) to two
> different in hive; judging by the terminal screen of the hive server, it
> processes one request, finishes it, and process the other.