Skip to main content Skip to complementary content

Defining the properties of tHMapFile

Procedure

  1. In the Job, select the tHMapFile component to define its properties.
  2. Select the Define a storage configuration component check box and then select the name of the component to use from those available in the drop-down list, tHDFSConfiguration_1 in this example.
    Note that if you leave the Define a storage configuration component check box unselected, you can only transform files locally.
  3. Click the [...] button and, in the Component Configuration window, click the Select button next to the Record Map field.
  4. In the Select a Map dialog box that opens, select the map you want to use and then click OK. In this example, use the json2xml map you just created.
  5. Click Next.
  6. Select an appropriate record delimitor for your data that tells the component where each new record begins.
    In this example, each record is on a new line, so select Separator and specify the newline character, \n in this example.
  7. Click Finish.
  8. Click the [...] button next to the Input field to define the path to the input file, /talend/input/gdelt.json in this example.
  9. Click the [...] button next to the Output field to define the path to where the output file is to be stored, /talend/output in this example.
  10. Leave the other settings unchanged.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!