Step 2. Enable Data Compression on the Hadoop Environment
Step 2. Enable Data Compression on the Hadoop Environment
To enable compression on temporary staging tables, you must install a compression codec on the Hadoop cluster.
For more information about how to install a compression codec, refer to the Apache Hadoop documentation.
Verify that the native libraries for the compression codec class name are installed on every node on the cluster.
To include the compression codec class name that you want to use, update the property io.compression.codecs in core-site.xml. The value for this property is a comma separated list of all the codec class names supported on the cluster.
Verify that the Hadoop-native libraries for the compression codec class name that you want to use are installed on every node on the cluster.
Verify that the LD_LIBRARY_PATH variable on the Hadoop cluster includes the locations of both the native and Hadoop-native libraries where you installed the compression codec.