使用Pentaho管理Ignite数据

  categories:资料  author:

Pentaho

Query and analyze data stored in Apache Ignite with Pentaho.

Overview

Pentaho is a comprehensive platform that provides the ability to extract, transform, visualize, and analyze your data easily. Pentaho Data Integration uses the Java Database Connectivity (JDBC) API in order to connect to your database.

Apache Ignite is shipped with its own implementation of the JDBC driver which makes it possible to connect to Ignite from the Pentaho platform and analyze the data stored in a distributed Ignite cluster.

Installation and Configuration

  • Download and Install Pentaho platform. Please refer to the official Pentaho documentation.
  • After Pentaho is successfully installed, you will need to install the Apache Ignite JDBC Driver using the JDBC Distribution Tool. To do so, download Apache Ignite and locate {apache-ignite}/libs/ignite-core-{version}.jar and copy the file to the {pentaho}/jdbc-distribution directory.
  • Open a command line tool of your choice, navigate to the {pentaho}/jdbc-distribution directory and run the following script ./distribute-files.sh ignite-core-{version}.jar

JDBC Driver Setup

The next step is to set up the JDBC driver and connect to the cluster. Below you will find the minimal number of actions that need to be taken. Refer to the JDBC Thin Driver documentation for the more details.

  1. Open your command line tool, go to the {pentaho}/design-tools/data-integration directory and launch Pentaho Data Integration using the ./spoon.sh script.
  2. Once the screen like the one below appears, click on the File menu option and create a new transformation – New->Transformation
Creating new Transformation

Creating new Transformation

  1. You can create a new Database Connection using the Pehtaho user interface filling out the parameters below:
Pentaho Property Name
Value

Connection Name

Set some custom name such as IgniteConnection

Connection Type

Choose Generic database option.

Access

Go for Native (JDBC)

Custom Connection URL

jdbc:ignite:thin://localhost:10800 or an adjusted string if a cluster node is running on a different network and accepting connection on a different port number.

Custom Driver Class Name

org.apache.ignite.IgniteJdbcThinDriver

  1. Click the Test button to check that the connection​ can be established:
Configuring JDBC Connection

Configuring JDBC Connection

Data Querying and Analysis

Once the connection is successfully established between Ignite and Pentaho, you can query, transform, and analyze the data in a variety of ways supported by Pentaho. For more details, refer to the official Pentaho documentation.

Running and Inspecting Data

Running and Inspecting Data

 

来源: https://apacheignite-tools.readme.io/docs/pentaho



快乐成长 每天进步一点点      京ICP备18032580号-1