Writing results in HDFS - 6.4

Java custom code for Map Reduce

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Custom code components (Integration) > Java custom code component for Map Reduce
Data Quality and Preparation > Third-party systems > Custom code components (Integration) > Java custom code component for Map Reduce
Design and Development > Third-party systems > Custom code components (Integration) > Java custom code component for Map Reduce
EnrichPlatform
Talend Studio

Procedure

  1. Double-click tHDFSOutput to open its Component view.
  2. In the Folder field, enter the path, or browse to the folder you want to write the results in.
  3. From the Type list, select the data format for the results to be written. In this example, select Text file.
  4. From the Action list, select the operation you need to perform on the file in question. If the file already exists, select Overwrite; otherwise, select Create.
  5. Select the Merge result to single file check box and enter the path, or browse to the file you need to write the merged output data in.
  6. If you need to remove the source data of the merge, select Remove source dir. In this scenario, select it.
  7. If the file for the merged data exists, select the Override target file check box to overwrite that file.