Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add h1. Thrift Hive Server; revise warning; minor edits

Thrift Hive Server

Warning
titleWARNING!

HiveServer

can not

cannot handle concurrent requests from more than one client. This is actually a limitation imposed by the Thrift interface that HiveServer exports, and can't be resolved by modifying the HiveServer code.

We're currently working on


HiveServer2 is a rewrite of HiveServer that addresses these problems

. Progress on this issue is being tracked in HIVE-2935.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.

, starting with Hive 0.11.0. See HIVE-2935.

Once Hive has been built using steps in Getting Started, the thrift Thrift server can be started by running the following:

...

The service supports clients in multiple languages. For more details see Hive Client.

Note
titleTroubleshooting: Connection Error

Hive server and clients communicate 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 a 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.