Using Ambari Web, browse to Services > HDFS > Configs, perform the following steps to configure LZO:
Find the
io.compression.codecsproperty key.Append to the
io.compression.codecsproperty key, the following value:com.hadoop.compression.lzo.LzoCodec
Expand the
Custom core-site.xmlsection.Select Add Property.
Add to
Custom core-site.xmlthe 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]](../common/images/admon/note.png)
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.

