1. Configure core-site.xml for LZO

Using Ambari Web, browse to Services > HDFS > Configs, perform the following steps to configure LZO:

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

  2. Append to the io.compression.codecs property key, the following value:

    com.hadoop.compression.lzo.LzoCodec 
  3. Expand the Custom core-site.xml section.

  4. Select Add Property.

  5. Add to Custom core-site.xml the following properties:

    Property Key Property Value
    io.compression.codec.lzo.class com.hadoop.compression.lzo.LzoCodec
  6. Choose Save.

  7. Stop, then Start the HDFS service.

    [Note]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.


loading table of contents...