Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Release 2.6.4 CentOS repo is missing hadooplzo package

avatar
New Member

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 Member

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
New Member

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 Member

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