Apache Phoenix

Version 24.1.8910


Apache Phoenix


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

Apache Phoenix コネクタを追加

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

  1. Sync のダッシュボードから接続ページを開きます。

  2. 接続を追加をクリックしてコネクタを選択ページを開きます。

  3. データソースタブをクリックしてApache Phoenix 行に移動します。

  4. 行末にある接続を設定アイコンをクリックして、新しい接続ページを開きます。接続を設定アイコンが利用できない場合は、コネクタをダウンロードアイコンをクリックしてApache Phoenix コネクタをインストールします。新規コネクタのインストールについて詳しくは、接続を参照してください。

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 への認証

コネクタを追加したら、必須プロパティを設定する必要があります。

  • Connection Name - Enter a connection name of your choice.

  • URL - Enter the URL to your instance of Apache Phoenix (for example, 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

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

Basic

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

  • Auth SchemeBasic を選択。

  • User:Apache Phoenix アカウントへの認証に使用するユーザー名を入力。

  • Password:Apache Phoenix アカウントへの認証に使用するパスワードを入力。

Negotiate

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

  • Auth Scheme - Negotiate を選択。

  • Kerberos KDC - 認証に使用するKerberos Key Distribution Center(KDC)サービスを入力。

  • Kerberos Realm - 認証に使用するKerberos レルムを入力。

  • Kerberos SPN - Kerberos ドメインコントローラーのサービスプリンシパル名(SPN)を入力。

  • Kerberos Keytab File(オプション)- Kerberos プリンシパルと暗号化キーのペアを含むキータブファイルを入力。

  • Kerberos Ticket Cache(オプション)- Kerberos 資格情報キャッシュファイルへの完全なファイルパスを入力。

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.

Complete Your Connection

To complete your connection:

  1. For Version (optional), enter the version of your Apache Phoenix instance. The default version is 4.9.0.

  2. 高度な設定タブで接続の高度な設定を定義します。(ただし、ほとんどの場合これらの設定は必要ありません。)

  3. 作成およびテストをクリックして接続を作成します。

詳細情報

CData Sync とApache Phoenix の連携について、詳しくはApache Phoenix Connector for CData Sync を参照してください。