Apache Hive¶
The Apache Hive connector is a Palantir-provided driver for Apache Hive.
To create a new Apache Hive source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for Apache Hive-specific configuration and networking. For the complete property reference, see the official Apache Hive driver documentation ↗.
Configuration¶
The properties below are mandatory or recommended.
| Property | Required? | Description | Default |
|---|---|---|---|
AuthScheme ↗ |
Mandatory | The authentication scheme used. Accepted entries are Anonymous, Plain, LDAP, NoSasl, and Kerberos. | Anonymous |
Server ↗ |
Mandatory | The host name or IP address of the server hosting HiveServer2. | {serverAddress} |
UseSSL ↗ |
Mandatory | Specifies whether to use SSL Encryption when connecting to Hive. | TRUE |
Database ↗ |
Recommended | The name of the Hive database to use by default. | — |
Password ↗ |
Recommended | The password used to authenticate with Hive. | — |
Port ↗ |
Recommended | The port for the connection to the HiveServer2 instance. | 10000 |
SSLServerCert ↗ |
Recommended | Specifies the certificate to be accepted from the server when connecting using TLS/SSL. | — |
TransportMode ↗ |
Recommended | The transport mode to use to communicate with the Hive server. Accepted entries are BINARY and HTTP. | BINARY |
User ↗ |
Recommended | The username used to authenticate with Hive. | — |
Networking¶
The table below lists the domains that the source needs to be able to access in order to successfully run.
For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.
| Domain | Required |
|---|---|
| \ |
Always |
| \ |
If AuthScheme=Negotiate |
| \ |
If AuthScheme=Negotiate and Kerberos topology uses multiple realms |
中文翻译¶
Apache Hive¶
Apache Hive 连接器是 Palantir 提供的用于 Apache Hive 的驱动程序(Palantir-provided driver)。
要创建新的 Apache Hive 数据源,请遵循 Palantir 提供驱动程序的标准设置流程(standard setup flow),然后使用以下各节进行 Apache Hive 特定的配置和网络设置。有关完整的属性参考,请参阅官方 Apache Hive 驱动程序文档(official Apache Hive driver documentation)。
配置¶
以下属性为必填或推荐项。
| 属性 | 是否必填 | 描述 | 默认值 |
|---|---|---|---|
AuthScheme ↗ |
必填 | 所使用的身份验证方案。可接受的值为 Anonymous、Plain、LDAP、NoSasl 和 Kerberos。 | Anonymous |
Server ↗ |
必填 | 托管 HiveServer2 的服务器的主机名或 IP 地址。 | {serverAddress} |
UseSSL ↗ |
必填 | 指定连接到 Hive 时是否使用 SSL 加密。 | TRUE |
Database ↗ |
推荐 | 默认使用的 Hive 数据库名称。 | — |
Password ↗ |
推荐 | 用于向 Hive 进行身份验证的密码。 | — |
Port ↗ |
推荐 | 连接到 HiveServer2 实例的端口。 | 10000 |
SSLServerCert ↗ |
推荐 | 指定使用 TLS/SSL 连接时从服务器接受的证书。 | — |
TransportMode ↗ |
推荐 | 用于与 Hive 服务器通信的传输模式。可接受的值为 BINARY 和 HTTP。 | BINARY |
User ↗ |
推荐 | 用于向 Hive 进行身份验证的用户名。 | — |
网络配置¶
下表列出了数据源为成功运行而需要能够访问的域名。
对于每个域名,请添加相应的出站策略(egress policy)。如果数据源部署在本地且无法从 Foundry 直接访问,请改用代理出站策略(agent proxy egress policy);代理主机本身也必须能够访问所列出的域名。有关详细信息,请参阅使用代理作为代理(using an agent as a proxy)。
| 域名 | 必需条件 |
|---|---|
| \ |
始终需要 |
| \ |
如果 AuthScheme=Negotiate |
| \ |
如果 AuthScheme=Negotiate 且 Kerberos 拓扑使用多个域 |