> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Apache Hive

CData Sync アプリケーションからApache Hive コネクタを使用して、Apache Hive からデータを取得してサポートされている任意の同期先に移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。

## Apache Hive コネクタを追加

Sync でApache Hive のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります：

<ol>
  <li>Sync のダッシュボードから**接続**ページを開きます。</li>
  <li>**接続を追加**をクリックして**コネクタを選択**ページを開きます。</li>
  <li>**データソース**タブをクリックして
  **Apache Hive** 行に移動します。</li>

  <li>
    行末にある**接続を設定**アイコンをクリックして、**新しい接続**ページを開きます。この操作により、
    **接続を追加**ダイアログボックスが開きます。

    **Note：** **接続を設定**アイコンが表示されない場合は、**コネクタをダウンロード**アイコンをクリックして Apache Hive コネクタをインストールしてください。
  </li>

  <li>**接続を追加**ダイアログボックスに接続名を入力します。</li>
  <li>**追加**をクリックして、コネクタの**設定**タブを開きます。</li>
</ol>

新しいコネクタのインストールについての詳細は、
[接続](https://docs.sync.cdata.com/26.4/ja/connections/connections.md)を参照してください。

## Apache Hive への認証

After you add the connector, you need to set the required properties.

**Server:** Enter the host name or the IP address of the server that hosts HiveServer2.

CData Sync supports authenticating to Apache Hive in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

* [**Plain**](#plain)
* [**LDAP**](#ldap)
* [**NoSasl**](#no-simple-authentication-and-security-layer)
* [**Kerberos**](#kerberos)

### Plain

To connect with a plain-text login, specify these properties:

* **Auth Scheme:** Select **Plain**.
* **User:** Enter the username that you use to authenticate to your Apache Hive account.
* **Password:** Enter the password that you use to authenticate to your Apache Hive account.

### LDAP

To connect with Lightweight Directory Access Protocol (LDAP) credentials, specify the following properties:

* **Auth Scheme:** Select **LDAP**.
* **User:** Enter the username that you use to authenticate to your Apache Hive account.
* **Password:** Enter the password that you use to authenticate to your Apache Hive account.

### No Simple Authentication and Security Layer

To connect with No Simple Authentication and Security Layer (NOSASL) credentials, specify the following properties:

* **Auth Scheme:** Select **NoSasl**.
* **User:** Enter the username that you use to authenticate to your Apache Hive account.
* **Password:** Enter the password that you use to authenticate to your Apache Hive account.

### Kerberos

To connect with Kerberos, specify these settings:

* **Auth Scheme:** Select **Kerberos**.
* **User:** Enter the username that you use to authenticate to your Apache Hive account.
* **Password:** Enter the password that you use to authenticate to your Apache Hive account.
* **Kerberos KDC:** Enter the Massachusetts Institute of Technology (MIT) Kerberos Key Distribution Center (KDC) service that you use to authenticate to Hive.
* **Kerberos Realm:** Enter the Kerberos realm that you use to authenticate to Apache Hive.
* **Kerberos SPN:** Enter the service principal name (SPN) for the Kerberos domain controller.
* **Sasl Qop:** Select the quality-of-protection level for the SASL framework.
  * **auth:** Specifies authentication only.
  * **auth-int:** Specifies authentication plus integrity protection.
  * **auth-conf:** Specifies authentication plus integrity and confidentiality protection.
* **Kerberos Keytab File:** Enter the keytab file that contains your pairs of the Kerberos principals and encrypted keys.
* **Kerberos Ticket Cache:** Enter the full file path to the Kerberos credential cache file.

## 接続を完了する

To complete your connection:

1. Specify the following properties:
   * **Transport Mode:** Select the transport mode that you want to use to communicate with the Hive server. The default mode is **BINARY**.
   * (Optional) **Port:** Enter the port number for the connection to your HiveServer2 instance. The default port is **10000**.
   * (Optional) **Database:** Enter the name of the Hive database that you want to use.
2. Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
3. Click **Create & Test** to create your connection.

## 詳細について


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.