Using Ambari Web, browse to Services > HDFS > Configs, perform the following steps to configure LZO:
Find the
io.compression.codecs
property key.Append to the
io.compression.codecs
property key, the following value:com.hadoop.compression.lzo.LzoCodec
Expand the
Custom core-site.xml
section.Select Add Property.
Add to
Custom core-site.xml
the following properties:Property Key Property Value io.compression.codec.lzo.class com.hadoop.compression.lzo.LzoCodec Choose Save.
Stop, then Start the HDFS service.
Note You must Stop, then Start the HDFS service for Ambari to install the necessary LZO packages. Performing a Restart or a Restart All will not start the required package install.