Support Questions

Find answers, ask questions, and share your expertise

pig el6 package in http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.4.2.0/HDP-2.4.2.0-centos7-rpm.tar.gz . Unable to find el7 pig package for centos 7 in repository

avatar
Explorer

I am setting up 9 node cluster.Pig client installation is getting failed in centos 7 by using remote as well as local repository.

1 ACCEPTED SOLUTION

avatar
New Contributor

Hi,

I have a similar problem with HDP 2.5.0.0. While in my repo definitions file (hdp.repo) I have:

baseurl=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.5.0.0

after installing Pig client through Ambari I see in the yum log files the following:

Nov 07 18:16:32 Installed: pig_2_5_0_0_1245-0.16.0.2.5.0.0-1245.el6.noarch

Nov 07 18:16:36 Installed: datafu_2_5_0_0_1245-1.3.0.2.5.0.0-1245.el6.noarch

Maybe, it's nothing to be concerned about but one would expect to see el7.centos instead of el6 in the release part.

View solution in original post

3 REPLIES 3

avatar
Contributor

Pls share the ambari logs (if you are using ambari for the deployment), else share the yum install logs.

If a forward proxy infront of the server blocks the connection to remote public repository, installation using local repository should work fine. you could check if you have http_proxy variable set (if yes, try disabling and again try with the local repo.).;

avatar
New Contributor

Hi,

I have a similar problem with HDP 2.5.0.0. While in my repo definitions file (hdp.repo) I have:

baseurl=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.5.0.0

after installing Pig client through Ambari I see in the yum log files the following:

Nov 07 18:16:32 Installed: pig_2_5_0_0_1245-0.16.0.2.5.0.0-1245.el6.noarch

Nov 07 18:16:36 Installed: datafu_2_5_0_0_1245-1.3.0.2.5.0.0-1245.el6.noarch

Maybe, it's nothing to be concerned about but one would expect to see el7.centos instead of el6 in the release part.

avatar
Master Mentor

it just means the bits are identical for either version of OS. Instead of building redundant bits we package el6 in RHEL7 repos. I confirmed that our repo only has el6 for both 2.4.2 and 2.5. How did you get the error? Was it an Ambari managed cluster or manual install.