Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E80BDBE2 for ; Sat, 30 Jun 2012 00:59:24 +0000 (UTC) Received: (qmail 24467 invoked by uid 500); 30 Jun 2012 00:59:23 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 24415 invoked by uid 500); 30 Jun 2012 00:59:23 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 24407 invoked by uid 99); 30 Jun 2012 00:59:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jun 2012 00:59:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of huy.pham.sc@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jun 2012 00:59:18 +0000 Received: by obbwd18 with SMTP id wd18so5446398obb.35 for ; Fri, 29 Jun 2012 17:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=wX006tkWzlbh/n3eX5QSIlwssGJRZh7EMWa0xM91Enw=; b=mSdeiQUHpbrWju8KGnQ3vpHGHg0rL2BILydgzysdZxjwO2yqdLyAP08jHn3Od8DuNw 23toVs+fszULHazdjdrz1PzWaW7qEj7GsDcQb3bW1BPdHm/wcnNFMa1tkR5lpobSLCmF aF5c3eUb/JfiHmAfiOzJSN1SauOQl072/+hFcfX6nHK3PlueRqCr7gjEiSwXrY5VolMM Q8JRqfe33dBahgFHxS5hFxK572oQq2AxXz3+VumE29PzE2Pz+eELXnwQ6e0YPCYhps3/ SeXlhXJOOxIQ0jb3P7fMQEU8myLqeFSBb5ulWqd7qx1dix5QNEZmy5EO1/0NLTencFlp ecxg== MIME-Version: 1.0 Received: by 10.60.31.199 with SMTP id c7mr2103581oei.23.1341017936846; Fri, 29 Jun 2012 17:58:56 -0700 (PDT) Received: by 10.76.120.10 with HTTP; Fri, 29 Jun 2012 17:58:56 -0700 (PDT) In-Reply-To: <026833C91E2A1146B97EF8B717408EDF2EA23DE5@szxeml534-mbs.china.huawei.com> References: <026833C91E2A1146B97EF8B717408EDF2EA23DE5@szxeml534-mbs.china.huawei.com> Date: Fri, 29 Jun 2012 17:58:56 -0700 Message-ID: Subject: Re: Thrift Server From: VanHuy Pham To: user@hive.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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? Any idea? On 6/29/12, Hezhiqiang (Ransom) wrote: > Hi Van > Hive doesn=92t supported multiple connections now. > it's impossible for HiveServer to support concurrent connections > using the current Thrift API > you can see: > https://issues.apache.org/jira/browse/HIVE-2935 > https://cwiki.apache.org/confluence/download/attachments/27362054/HiveSer= ver2HadoopSummit2012BoF.pdf?version=3D1&modificationDate=3D1339790767000 > > > From: VanHuy Pham [mailto:huy.pham.sc@gmail.com] > Sent: Saturday, June 30, 2012 4:33 AM > To: user@hive.apache.org > 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. > > Van >