Apache Hive


Apache Hive


セットアップガイド

以下の手順で、Apache Hive をCData Connect アカウントに接続します。

  1. CData Connect のダッシュボードからConnections ページを開きます。

  2. 右上の+ Add Connection をクリックします。

  3. 検索フィールドに Apache Hive と入力し、データソース名をクリックします。

  4. 新しいコネクションのBasic Settings タブで、コネクション名を入力するかデフォルトの名前をそのまま使用します。

  5. Enter the Transport Mode to use for communicating with the Hive server: HTTP or BINARY.

  6. For HTTP transport mode only, enter the HTTP Path, available in the ‘hive.server2.thrift.http.path’ property of your Hive configuration file (hive.site.xml).

  7. Select an Auth Scheme for use in connecting to Apache Hive. Select the option that matches the configuration of the HiveServer2. Follow the relevant instructions below.

Authentication Methods

Plain

  1. Enter the following information:

    • User—認証用のApache Hive ユーザー名.

    • Password—ユーザーパスワード.

    • Port—Apache Hive サーバーに接続するためのポート. If using HTTP transport mode, set Port to the value in the ‘hive.server2.thrift.http.port’ property of the Hive configuration file (hive.site.xml).

    • Server—the host name or IP address of the server hosting HiveServer2.

    • Database—(optional) the Apache Hive database to use. If left empty, the connection uses the default Apache Hive database.

  2. CData Connect Add Apache Hive Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

  3. Apache Hive で、CData Connect 静的IP アドレスを接続のホワイトリストに追加します。

LDAP

  1. Enter the following information:

    • User—認証用のApache Hive ユーザー名.

    • Password—ユーザーパスワード.

    • Port—Apache Hive サーバーに接続するためのポート. If using HTTP transport mode, set Port to the value in the ‘hive.server2.thrift.http.port’ property of the Hive configuration file (hive.site.xml).

    • Server—the host name or IP address of the server hosting HiveServer2.

    • Database—(optional) the Apache Hive database to use. If left empty, the connection uses the default Apache Hive database.

  2. CData Connect Add Apache Hive Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

  3. Apache Hive で、CData Connect 静的IP アドレスを接続のホワイトリストに追加します。

詳細について

CData Connect とApache Hive の連携の詳細動作については、こちらのページを参照してください。