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]
Created on 11-19-2016 02:54 PM - edited 09-16-2022 03:48 AM
Team,
I am getting error during HDP 2.5 installation in Centos 7:
resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install snappy-devel' returned 1. Error: Package: snappy-devel-1.0.5-1.el6.x86_64 (HDP-UTILS-1.1.0.21)
Requires: snappy(x86-64) = 1.0.5-1.el6
Installed: snappy-1.1.0-3.el7.x86_64 (@centos7)
snappy(x86-64) = 1.1.0-3.el7
Available: snappy-1.0.5-1.el6.x86_64 (HDP-UTILS-1.1.0.21)
snappy(x86-64) = 1.0.5-1.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Please suggest a solution to overcome this issue.
Sridhar
Created 11-19-2016 03:07 PM
You seems to be hitting the issue that is reported in: http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_ambari_troubleshooting/content/_resolving...
3.10. Problem: DataNode Fails to Install on RHEL/CentOS 7.
During cluster install, DataNode fails to install with the following error:
resource_management.core.exceptions.
Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install snappy-devel' returned 1.
Error: Package: snappy-devel-1.0.5-1.el6.x86_64 (HDP-UTILS-1.1.0.20)
Requires: snappy(x86-64) = 1.0.5-1.el6
Installed: snappy-1.1.0-3.el7.x86_64 (@anaconda/7.1)
snappy(x86-64) = 1.1.0-3.el7
Available: snappy-1.0.5-1.el6.x86_64 (HDP-UTILS-1.1.0.20)
snappy(x86-64) = 1.0.5-1.el6
3.10.1. Solution:
Hadoop requires the snappy-devel package that is a lower version that what is on
the machine already. Run the following on the host and retry.
yum remove snappy
yum install snappy-devel
.
Created 11-19-2016 02:59 PM
why installation engine is checking el6 rpm rather than el7 rpm?
Created 11-19-2016 03:07 PM
You seems to be hitting the issue that is reported in: http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_ambari_troubleshooting/content/_resolving...
3.10. Problem: DataNode Fails to Install on RHEL/CentOS 7.
During cluster install, DataNode fails to install with the following error:
resource_management.core.exceptions.
Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install snappy-devel' returned 1.
Error: Package: snappy-devel-1.0.5-1.el6.x86_64 (HDP-UTILS-1.1.0.20)
Requires: snappy(x86-64) = 1.0.5-1.el6
Installed: snappy-1.1.0-3.el7.x86_64 (@anaconda/7.1)
snappy(x86-64) = 1.1.0-3.el7
Available: snappy-1.0.5-1.el6.x86_64 (HDP-UTILS-1.1.0.20)
snappy(x86-64) = 1.0.5-1.el6
3.10.1. Solution:
Hadoop requires the snappy-devel package that is a lower version that what is on
the machine already. Run the following on the host and retry.
yum remove snappy
yum install snappy-devel
.
Created 11-19-2016 03:11 PM
In General:
This seems to be because of incorrect version of snappy-devel On CentOS7/Redhat7. So as a workaround you will need to try the following:
yum remove -y snappy yum install -y snappy-devel
.
Created 11-19-2016 04:35 PM
I installed HDP 2.5 on Centos 7.2 with no issues, make sure it's the correct repo and follow the prereqs for install
Created 11-20-2016 02:29 AM
resolved my issue by removing snappy as suggested by JSS