今すぐお試しください!

製品の詳細CData JDBC Driver for Apache Hive を確認して、無償評価版をダウンロード:

今すぐダウンロード

Enable the CData JDBC Driver for Hive in KNIME

Use standard data access components in KNIME to create charts and reports with Hive data.

One of the strengths of the CData JDBC Driver for Hive is its cross-platform support, enabling integration with major BI tools. Follow the procedure below to access Hive data in KNIME and to create a chart from Hive data using the report designer.


※製品について詳しい情報をご希望の方は以下からお進みください。

Define a New JDBC Connection to Hive Data

  1. If you have not already done so, install the Report Designer extension: Click File -> Install KNIME Extensions, and filter on "Report".
  2. In a new workflow, click File -> Preferences and expand the KNIME -> Database Driver nodes to add cdata.jdbc.apachehive.jar. The driver JAR is located in the lib subfolder of the installation directory.
  3. In the Node Repository view, expand the Database node and drag a Database Reader onto the workflow editor.
  4. Double-click the Database Reader and set the following properties:

    • Database Driver: In the menu, select the CData JDBC driver.
    • Database URL: Enter the connection properties. The JDBC URL begins with jdbc:apachehive: and is followed by a semicolon-separated list of connection properties.

      Apache Hive への接続を確立するには以下を指定します。

      • Server:HiveServer2 をホストするサーバーのホスト名またはIP アドレスに設定。
      • Port:HiveServer2 インスタンスへの接続用のポートに設定。
      • TransportMode:Hive サーバーとの通信に使用するトランスポートモード。有効な入力値は、BINARY およびHTTP です。デフォルトではBINARY が選択されます。
      • AuthScheme:使用される認証スキーム。有効な入力値はPLAIN、LDAP、NOSASL、およびKERBEROS です。デフォルトではPLAIN が選択されます。
      • 本製品においてTLS/SSL を有効化するには、UseSSL をTrue に設定します

      A typical JDBC URL is below. jdbc:apachehive:Server=127.0.0.1;Port=10000;TransportMode=BINARY;

    • User Name: The username used to authenticate.
    • Password: The password used to authenticate.
    • SQL Statement: Enter an SQL query in the SQL Statement box or double-click a table. This article uses the query below to create a chart: SELECT City, CompanyName FROM Customers
  5. Test the connection by clicking Fetch Metadata.

  6. Connect the Database Reader to a Data to Report node to supply the dataset to a range of data visualization controls. Click Execute and then click Edit Report at the top of the workflow to open the report designer perspective.
  7. You can now generate reports based on live data. To create a chart, drag the chart control from the palette to the report designer. In the resulting wizard, you can use the filtering and aggregation controls available in KNIME.
 
 
ダウンロード