Configure core-site.xml for LZO
Browse to
Ambari Web > Services > HDFS > Configs
, then expandAdvanced core-site
.Find the
io.compression.codecs
property key.Append to the
io.compression.codecs
property key, the following value:com.hadoop.compression.lzo.LzoCodec
Add a description of the config modification, then choose Save.
Expand the
Custom core-site.xml
section.Select
Add Property
.Add to
Custom core-site.xml
the following property key and valueProperty Key
Property Value
io.compression.codec.lzo.class
com.hadoop.compression.lzo.LzoCodec
Choose
Save
.Add a description of the config modification, then choose Save.
Restart the HDFS, MapReduce2 and YARN services.
Note If performing a Restart or a Restart All does not start the required package install, you may need to stop, then start the HDFS service to install the necessary LZO packages. Restart is only available for a service in the "Runnning" or "Started" state.