> ## 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 Phoenix

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

## Apache Phoenix コネクタを追加

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

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

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

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

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

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

## Start the Apache Phoenix Query Server

Before you connect, you need to ensure that the Apache Phoenix Query Server is running. Different versions of the server contain different interfaces, different means of starting and stopping the server, and different default port settings. In most distributions, you can start the server in the background by submitting the following command:

`queryserver.py start`

This method requires that you are running an instance of Apache HBase and, possibly, Apache ZooKeeper as well. For more details, see the documentation for your server version.

## Apache Phoenix への認証

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

**URL:** Enter the URL to your instance of Apache Phoenix (for example, [http://localhost:8765](http://localhost:8765)).

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

* [**None**](#none)
* [**Basic**](#basic) (default)
* [**Negotiate**](#negotiate)
* [**Azure HDInsight**](#azure-hdinsight)

### None

認証なしで接続するには、**Auth Scheme** で**None** を選択します。追加のプロパティは必要ありません。

### Basic

ユーザー資格情報で接続するには、次のプロパティを設定します：

<ul><li>\*\*Auth Scheme：\*\***Basic** を選択。</li>
<li>\*\*User：\*\*Apache Phoenix アカウントへの認証に使用するユーザー名を入力。</li>
<li>\*\*Password：\*\*Apache Phoenix アカウントへの認証に使用するパスワードを入力。</li></ul>

### Negotiate

Kerberos 資格情報で接続するには、次のプロパティを指定します：

<ul><li>\*\*Auth Scheme：\*\***Negotiate** を選択。</li>
<li>\*\*Kerberos KDC：\*\*認証に使用するKerberos Key Distribution Center（KDC）サービスを入力。</li>
<li>\*\*Kerberos Realm：\*\*認証に使用するKerberos レルムを入力。</li>
<li>\*\*Kerberos SPN：\*\*Kerberos ドメインコントローラーのサービスプリンシパル名（SPN）を入力。</li>
<li>（オプション）\*\*Kerberos Keytab File：\*\*Kerberos プリンシパルと暗号化キーのペアを含むキータブファイルへのパスを入力。</li>
<li>（オプション）\*\*Kerberos Ticket Cache：\*\*MIT Kerberos 資格情報キャッシュファイルへの完全パスを入力。Sync は指定されたキャッシュファイルを使用して、Apache Phoenix への接続に必要なKerberos チケットを取得します。</li></ul>

### Azure HDInsight

To connect with Azure HDInsight, specify the following properties:

* **Auth Scheme:** Select **AzureHDInsight**.
* **User:** Enter the username that you use to authenticate to your Apache Phoenix account.
* **Password:** Enter the password that you use to authenticate to your Apache Phoenix account.
* **Cluster Name:** Enter the name of the cluster that contains your Azure HDInsight instance.

## 接続を完了する

To complete your connection:

1. For **Version** (optional), enter the version of your Apache Phoenix instance. The default version is **4.9.0**.
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.