Before you use custom formats, you must complete configuration tasks in the Informatica environment.
To use custom formats in the native environment, copy the .jar files that implement the custom formats to the following directory:
<Informatica installation directory>/services/shared/hadoop/<hadoop distribution name>/infaLib
To use custom formats in the Hadoop environment, see the Hadoop documentation for information about the prerequisite tasks.
If the custom compression includes native libraries, depending on the run-time environment, add the path of the native libraries to the environment variable $LD_LIBRARY_PATH or to the Hadoop connection. If you use the native environment, add the path of the native libraries to the environment variable $LD_LIBRARY_PATH. If you use the Hadoop environment, add the path of the native libraries to the Hadoop connection.
Perform the following steps to add the path of the native libraries to the Hadoop connection:
Click the
Common Attributes
tab in the Hadoop connection.
Under the
Common Properties
section, click
Edit
next to the
Advanced Properties
field.
Add the infapdo.java.opts property and set its value to the path of the native libraries.
For example, the following property specifies a native library path for a Cloudera distribution: