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

Enabling LZO

The LZO compression libraries are GPL software, and Ambari must be explicitly configured to download these libraries and install them throughout the cluster. The LZO compression libraries are hosted in a separate repository. To configure Ambari to automatically download and install LZO compression libraries, follow the steps below.

Steps

  1. Re-run Ambari Server Setup to configure Ambari to enable automatic download and installation of LZO compression libraries.

    ambari-server setup
    ...
    GPL License for LZO: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
    Enable Ambari Server to download and install GPL Licensed LZO packages [y/n] (n)?
    
  2. When prompted, review the GPL license and choose y.

  3. Restart the Ambari Server.

    ambari-server restart

The LZO compression library packages are stored in a separate HDP-GPL repository. Now that the Ambari Server has been configured to download and install the LZO packages, it must be configured with the location of the HDP-GPL repository. Ensure the location of the HDP-GPL repositories are correct for your installation:

Steps

  1. Log in to Ambari.

  2. Browse to Admin > Stack and Versions.

  3. Click the Versions tab. You see the version currently running, marked as Current.

  4. Click Manage Versions.

  5. Click on the version in the list that matches your Current version.

  6. Validate that the HDP-GPL repository is pointed to a valid location for your installation. If you are using a local repository installation, please use HDP 2.6 Repositories to obtain the repository.

More Information

HDP 2.6 Repositories

Configure core-site.xml for LZO