Kettle Repository Configuration

Kettle manages its own metadata through the resource library, including database information, conversion information, job information, etc. The configuration operation of the resource library is described as follows.

On the menu bar of the kettle work page, click [Tools]--[Resource Library]--[Connect to Resource Library], the resource library connection dialog box will pop up.
1. Select the resource library type
Click the plus sign in the upper right corner to select the resource library type (divided into 3 types: one is the pentaho resource library, but the database resource library, and the third is the local file system resource library). You can choose the database resource library for development. Or the file system repository, for the convenience of how we choose the data.
2. Create Repository Information
On the Repository Information page, click the New button to pop up the database connection configuration information, select a database such as MySQL, fill in the connection information and test the connection successfully, and return to the Repository Information page.
3. Execute the script initialization
Agree to execute the sql script under the resource library to initialize the table information of the kettle.
4. Log in to the resource library To
connect to the resource library, the user name is admin, and the password is admin.

In addition, after Kettle establishes a database DB connection, it will automatically create a .kettle folder under the local disk--user folder, and the shared.xml file in this folder stores the shared database configuration information. The premise is that after the DB connection is created, you need to right-click - share only.

With the relational database as the metadata source of the kettle, we can do some secondary development and read the information of the kettle for display.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326197063&siteId=291194637