When you create a mapping, you can configure a Source or Target transformation to represent a Hadoop Files V2 object.
You can specify a single flat or complex file as source and target objects.
Select the flat or complex file in the source and target object when you want to perform a read or write operation to a single flat or complex file. If you want to perform read or write operations to multiple files in a directory and its sub directories, specify a directory as the source object.
To specify a directory as a source object, enter the File Path value in the advanced source properties from where you want to read the files. To specify a directory as a target object to store the written files in the Hadoop file system, enter the File Directory value in the advanced target properties.
You can also configure a Lookup transformation in the mapping to lookup data in the flat file format.
After you configure a mapping, deploy the mapping in a mapping task. If you parameterize the connection or object in a mapping, you must specify the parameterized values when you create the mapping task.