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
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)?
When prompted, review the GPL license and choose
y
.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
Log in to Ambari.
Browse to Admin > Stack and Versions.
Click the Versions tab. You see the version currently running, marked as Current.
Click Manage Versions.
Click on the version in the list that matches your Current version.
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