Writing the output - 8.0

Talend Open Studio for Big Data Getting Started Guide

Version
8.0
Language
English
EnrichDitaval
Open Studio for Big Data
Product
Talend Open Studio for Big Data
Module
Talend Studio
Content
Design and Development
Installation and Upgrade
Two tFileInputDelimited components are configured to write the expected movie data and the rejected movie data to different directories in your local file system; then tAzureStoragePut uploads these files to an existing Azure Blob container.

Procedure

  1. Double-click the tFileOutputDelimited which receives the out1 link.

    Its Basic settings view is opened in the lower part of the Studio.

  2. In the File Name field, enter the directory you need to write the result in. In this scenario, it is C:/tos_bd_gettingstarted_source_files/temps/out.csv, which receives the records that contain the names of the movie directors.
  3. In the Field separator field, enter ; within double quotation marks.
  4. Click Advanced settings tab to open its view and clear the Throw an error if the file already exists check box to allow the component overwriting existing files of the same names.
  5. Repeat the same operations to configure the tFileOutputDelimited that receives the reject link, but set the directory, in the File Name field, to C:/tos_bd_gettingstarted_source_files/temps/reject.csv.
  6. Double-click the tAzureStoragePut to open its Component view.
  7. In the Account Name field and the Account Key field, enter the credentials of the Azure Blob Storage account to be used. Ensure that the administrator of the system has granted you the appropriate access permissions to this storage account.
  8. In the Container name field, enter the name of the Azure Blob container to be used. This container must already exist.
  9. In the Local folder field, enter the directory in which the tFileOutputDelimited components write the output files. In this example, the directory is C:/tos_bd_gettingstarted_source_files/temps.
  10. In the Azure storage folder field, enter the name of the folder to be used to store the data to be uploaded to Azure. If it does not exist, this folder is created on the fly in the container you specified above in the Container name field.
  11. Press F6 to run the Job.

Results

The Run view is automatically opened in the lower part of the Studio and shows the execution progress of this Job.

Once done, you can check that the output has been written in the Azure Blob Storage container.