The Structure Parser transformation can process local file input or HDFS input when you add a Hadoop Files source. For example, the Structure Parser transformation can process big data input from a Hadoop Files source in streaming mode in a Hadoop environment.
You can create a Hadoop Files source with a Hortonworks Data Platform or Cloudera connection to provide input to a Structure Parser transformation. For more information about the Hadoop Files sources, see the Hadoop Files V2 Connector help.
Hadoop Files V2 Connector can process a single file or an entire directory. When the connector processes a directory, it processes the files recursively.
To ensure that the Structure Parser transformation can process output from the Hadoop Files source, define the Field Mapping settings correctly in the Structure Parser transformation. Map the
Data
and
File Path
fields in the
Incoming Field
panel to the
Data
and
File Path
fields in the
Structure Parser Input Fields
panel. You can map the fields automatically or manually.