Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 22395 invoked from network); 15 Oct 2009 19:13:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Oct 2009 19:13:11 -0000 Received: (qmail 33967 invoked by uid 500); 15 Oct 2009 19:13:10 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 33913 invoked by uid 500); 15 Oct 2009 19:13:10 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 33904 invoked by uid 500); 15 Oct 2009 19:13:10 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 33901 invoked by uid 99); 15 Oct 2009 19:13:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 19:13:10 +0000 X-ASF-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 19:13:08 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 2B6841A255; Thu, 15 Oct 2009 19:12:48 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 15 Oct 2009 19:12:48 -0000 Message-ID: <20091015191248.6359.68917@eos.apache.org> Subject: =?utf-8?q?=5BHadoop_Wiki=5D_Update_of_=22Hive/HiveServer=22_by_Ning_Zhang?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for ch= ange notification. The "Hive/HiveServer" page has been changed by Ning Zhang: http://wiki.apache.org/hadoop/Hive/HiveServer?action=3Ddiff&rev1=3D9&rev2= =3D10 ## page was renamed from Hive/AdminManual/HiveServer Once Hive has been built using steps in [[Hive/GettingStarted|GettingStar= ted]], the thrift server can be started by running the following: + = {{{ $ build/dist/bin/hive --service hiveserver --help usage HIVE_PORT=3Dxxxx ./hive --service hiveserver @@ -9, +10 @@ = $ bin/hive --service hiveserver }}} - = - = After starting the server, to test if the server is working well, run the= hiveserver and jdbc tests in 'standalone' mode. The HIVE_PORT is assumed t= o be 10000 on localhost for this case. = {{{ $ ant test -Dtestcase=3DTestJdbcDriver -Dstandalone=3Dtrue $ ant test -Dtestcase=3DTestHiveServer -Dstandalone=3Dtrue }}} - = The service supports clients in multiple languages. For more details see = [[Hive/HiveClient|HiveClient]] = - NOTE: The HiveServer is currently single threaded, which could present s= erious use limitations. See [[http://issues.apache.org/jira/browse/HIVE-80|= JIRA: HIVE-80]]. + NOTE: = + * The HiveServer is currently single threaded, which could present serio= us use limitations. See [[http://issues.apache.org/jira/browse/HIVE-80|JIRA= : HIVE-80]]. + * Hive server and clients communicates through Thrift and FB303 services= . In some distributions, both the Hadoop and Hive distributions have differ= ent versions of libthrift.jar and libfb303.jar. If they are incompatible, i= t may cause Thrift connection error when running the unit test on standalon= e mode. The solution is to remove the Hadoop's version of libthrift.jar and= libfb303.jar. +=20