Scenario: Displaying the statistics log of Job execution - 6.3

Talend Open Studio for Big Data Components Reference Guide

Talend Open Studio for Big Data
Data Governance
Data Quality and Preparation
Design and Development
Talend Studio

This scenario collects the statistics log for the Job execution and displays it on the Run console. Note that, since the tStatCatcher Statistics check box is not selected for the components, the statistics log applies solely to this specific Job.

Linking the components

  1. Drop tFixedFlowInput, tFileOutputDelimited, tStatCatcher and tLogRow onto the workspace.

  2. Link tFixedFlowInput to tFileOutputDelimited using a Row > Main connection.

  3. Link tStatCatcher to tLogRow using a Row > Main connection.

Configuring the components

  1. Double-click tFixedFlowInput to open its Basic settings view.

  2. Click the Edit schema button to open the schema editor.

  3. Click the [+] button to add three columns, namely ID_Owners, Name_Customer and ID_Insurance, of the Integer and String types respectively.

  4. Click Ok to validate the setup and close the editor.

  5. In the dialog box that appears, click Yes to propagate the changes to the subsequent component.

  6. Select the Use Inline Content (delimited file) option.

  7. In the Content box, enter 1;Andrew;888.

  8. Double-click tFileOutputDelimited to open its Basic settings view.

  9. In the File Name field, enter the full name of the file to save the statistics data.

  10. Double-click tLogRow to open its Basic settings view.

  11. Select Vertical (each row is a key/value list) for a better display of the results.

Executing the Job

  1. Press Ctrl + S to save the Job.

  2. Press F6 to run the Job.

    As shown above, the statistics log of the Job execution is correctly generated.