Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Release 2.6.4 CentOS repo is missing hadooplzo package

avatar
New Contributor

We are installing hdp manually through yum, not through ambari. Release 2.6.4 CentOS repos is missing hadooplzo package. I've also added HDP-GPL repo as well.

Following are the steps to reproduce. Please note that this is working for release 2.6.3, but not 2.6.4

Steps to reproduce:

sudo wget -nv http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.4.0/hdp.repo -O /etc/yum.repos.d/hdp.repo
sudo wget -nv http://public-repo-1.hortonworks.com/HDP-GPL/centos6/2.x/updates/2.6.4.0/hdp.gpl.repo -O /etc/yum.repos.d/hdp_gpl.repo
sudo yum install hadooplzo_2_6_4_0_91-0.6.0.2.6.4.0-91 ( or just hadooplzo) or sudo yum install hadooplzo

Error Message:

No package hadooplzo available

Can anyone look into this.

1 ACCEPTED SOLUTION

avatar
New Contributor

Found the solution: There is a bug in the HDP-GPL Yum repo file.

Solution:

  1. With HDP 2.6.4, GPL components like hadoop-lzo are moved to different repo.
  2. But the content of the file http://public-repo-1.hortonworks.com/HDP-GPL/centos6/2.x/updates/2.6.4.0/hdp.gpl.repo are wrong. It should be as follows ( baseurl value is wrong).
#VERSION_NUMBER=2.6.4.0-91
[HDP-GPL-2.6.4.0]
name=HDP-GPL Version - HDP-GPL-2.6.4.0
baseurl=http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.4.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.4.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1


View solution in original post

2 REPLIES 2

avatar
Contributor

What ambari version are you using? With ambari 2.6.1.0, there are some changes related to installation of LZO packages. You can refer to https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-administration/content/enabling_l...

avatar
New Contributor

Found the solution: There is a bug in the HDP-GPL Yum repo file.

Solution:

  1. With HDP 2.6.4, GPL components like hadoop-lzo are moved to different repo.
  2. But the content of the file http://public-repo-1.hortonworks.com/HDP-GPL/centos6/2.x/updates/2.6.4.0/hdp.gpl.repo are wrong. It should be as follows ( baseurl value is wrong).
#VERSION_NUMBER=2.6.4.0-91
[HDP-GPL-2.6.4.0]
name=HDP-GPL Version - HDP-GPL-2.6.4.0
baseurl=http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.4.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.4.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1