When you connect a Hadoop Files source to the Structure Parser transformation, you can process local file input or HDFS input. 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 connection to a Hortonworks Data Platform or Cloudera distribution to provide input to a Structure Parser transformation. For more information about Hadoop Files sources, see Hadoop Files V2 Connector.
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 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.