You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2009/10/15 21:12:48 UTC

[Hadoop Wiki] Update of "Hive/HiveServer" by Ning Zhang

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hive/HiveServer" page has been changed by Ning Zhang:
http://wiki.apache.org/hadoop/Hive/HiveServer?action=diff&rev1=9&rev2=10

  ## page was renamed from Hive/AdminManual/HiveServer
  Once Hive has been built using steps in [[Hive/GettingStarted|GettingStarted]], the thrift server can be started by running the following:
+ 
  {{{
  $ build/dist/bin/hive --service hiveserver --help
  usage HIVE_PORT=xxxx ./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 to be 10000 on localhost for this case.
  
  {{{
  $ ant test -Dtestcase=TestJdbcDriver -Dstandalone=true
  $ ant test -Dtestcase=TestHiveServer -Dstandalone=true
  }}}
- 
  The service supports clients in multiple languages. For more details see [[Hive/HiveClient|HiveClient]]
  
- NOTE:  The HiveServer is currently single threaded, which could present serious use limitations. See [[http://issues.apache.org/jira/browse/HIVE-80|JIRA: HIVE-80]].
+ NOTE:
  
+  * The HiveServer is currently single threaded, which could present serious 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 different versions of libthrift.jar and libfb303.jar. If they are incompatible, it may cause Thrift connection error when running the unit test on standalone mode. The solution is to remove the Hadoop's version of libthrift.jar and libfb303.jar.
+