Apache thrift 如何与 Apache hive 适配?
How does Apache thrift fits with Apache hive?
为什么 Apache Hive 需要 Apache Thrift?在 Thrift 的网站上,它说它可以用多种语言编译,但我不明白它适合哪里以及为什么 Hive 需要它。
谢谢
Chapter 16. Hive Thrift Service
Hive has an optional component known as HiveServer or HiveThrift that
allows access to Hive over a single port. Thrift is a software
framework for scalable cross-language services development. See
http://thrift.apache.org/ for more details. Thrift allows clients
using languages including Java, C++, Ruby, and many others, to
programmatically access Hive remotely.
The CLI is the most common way to access Hive. However, the design of
the CLI can make it difficult to use programmatically. The CLI is a
fat client; it requires a local copy of all the Hive components and
configuration as well as a copy of a Hadoop client and its
configuration. Additionally, it works as an HDFS client, a MapReduce
client, and a JDBC client (to access the metastore). Even with the
proper client installation, having all of the correct network access
can be difficult, especially across subnets or datacenters.
再好不过了。强调我的。
https://cwiki.apache.org/confluence/display/Hive/HiveServer
HiveServer 是一项可选服务,允许远程客户端使用各种编程语言向 Hive 提交请求并检索结果。 HiveServer 建立在 Apache ThriftTM (http://thrift.apache.org/) 之上,因此它有时被称为 Thrift 服务器,尽管这可能会导致混淆,因为名为 HiveServer2 的较新服务也建立在 Thrift 之上。
有关如何连接到配置单元服务器(thrift 服务器)的更多详细信息,请参阅上面的 link。
为什么 Apache Hive 需要 Apache Thrift?在 Thrift 的网站上,它说它可以用多种语言编译,但我不明白它适合哪里以及为什么 Hive 需要它。 谢谢
Chapter 16. Hive Thrift Service
Hive has an optional component known as HiveServer or HiveThrift that allows access to Hive over a single port. Thrift is a software framework for scalable cross-language services development. See http://thrift.apache.org/ for more details. Thrift allows clients using languages including Java, C++, Ruby, and many others, to programmatically access Hive remotely.
The CLI is the most common way to access Hive. However, the design of the CLI can make it difficult to use programmatically. The CLI is a fat client; it requires a local copy of all the Hive components and configuration as well as a copy of a Hadoop client and its configuration. Additionally, it works as an HDFS client, a MapReduce client, and a JDBC client (to access the metastore). Even with the proper client installation, having all of the correct network access can be difficult, especially across subnets or datacenters.
再好不过了。强调我的。
https://cwiki.apache.org/confluence/display/Hive/HiveServer
HiveServer 是一项可选服务,允许远程客户端使用各种编程语言向 Hive 提交请求并检索结果。 HiveServer 建立在 Apache ThriftTM (http://thrift.apache.org/) 之上,因此它有时被称为 Thrift 服务器,尽管这可能会导致混淆,因为名为 HiveServer2 的较新服务也建立在 Thrift 之上。
有关如何连接到配置单元服务器(thrift 服务器)的更多详细信息,请参阅上面的 link。