Apache Ambari Administration
Also available as:
PDF
loading table of contents...

Configure core-site.xml for LZO

To enable LZO compression:

Steps

  1. Browse to Ambari Web > Services > HDFS > Configs, then expand Advanced core-site.

  2. Find the io.compression.codecs property key.

  3. Append to the io.compression.codecs property key, the following value: com.hadoop.compression.lzo.LzoCodec

  4. Add a description of the config modification, then click Save.

  5. Expand the Custom core-site.xml section.

  6. Click Add Property.

  7. Add to Custom core-site.xml the following property key and value

    Property Key

    io.compression.codec.lzo.class

    Property Value

    com.hadoop.compression.lzo.LzoCodec

  8. Click Save.

  9. Add a description of the config modification, then click Save.

  10. Restart the HDFS, MapReduce2 and YARN services.

    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 Running or Started state.

More Information

Enabling LZO