11. Configuring LZO Compression

LZO compression is a lossless data compression library favoring speed over compression ratio; LZO compression is recommended for temporary tables. You can enable LZO compression for HDP to optimize Hive query speed.

LZO compression is not enabled automatically. To enable it, perform the following steps on each node in your cluster:

  1. Copy the hadoop-lzo.jar file from your installation zip package to %HADOOP_COMMON_HOME%\share\hadoop\common.

  2. Copy gplcompression.dll and lzo2.dllfrom your installation zip package to the same bin folder as hadoop.dll.

  3. Ensure that the following configuration properties are set in core-site.xml:


loading table of contents...