Created on 04-09-2017 03:22 AM - edited 09-16-2022 04:25 AM
Hello everybody.
According with documentation I configured remote repositories and trying to install HDP 2.5 version by yum.
yum install hadoop hadoop-hdfs hadoop-libhdfs hadoop-yarn hadoop-mapreduce hadoop-client openssl
but during dependencies resolving I got so error
--> Finished Dependency Resolution Error: Package: hadoop-2.7.3.2.5.0.0-1245.el6.noarch (HDP-2.5.0.0) Requires: hadoop_2_5_0_0_1245 Error: Package: hadoop-yarn-2.7.3.2.5.0.0-1245.el6.noarch (HDP-2.5.0.0) Requires: hadoop_2_5_0_0_1245-yarn Error: Package: hadoop-hdfs-2.7.3.2.5.0.0-1245.el6.noarch (HDP-2.5.0.0) Requires: hadoop_2_5_0_0_1245-hdfs Error: Package: hadoop-client-2.7.3.2.5.0.0-1245.el6.noarch (HDP-2.5.0.0) Requires: hadoop_2_5_0_0_1245-client Error: Package: hadoop-libhdfs-2.7.3.2.5.0.0-1245.el6.noarch (HDP-2.5.0.0) Requires: hadoop_2_5_0_0_1245-libhdfs Error: Package: hadoop-mapreduce-2.7.3.2.5.0.0-1245.el6.noarch (HDP-2.5.0.0) Requires: hadoop_2_5_0_0_1245-mapreduce You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Why did it happen and how fix it?
I have CentOS release 6.6 (32 bit)
Created 04-09-2017 02:03 PM
1. According to Support metrics you should be using 64-bit operating system instead of 32-bit. You have mentioned that you are using "CentOS release 6.6 (32 bit)".
2. Please check if your remote repository is configured properly or not? (for 64 bit)
# yum clean all # yum repolist # yum whatprovides hadoop # yum whatprovides hadoop-yarn
.
The yum whatprovides output should show the repository in which the mentioned package is available. If it does not show anything then it means your remote repository setup is not correct. In that case try using the Hortonworks repository directly or fix your remote repository.
Created 04-09-2017 02:03 PM
1. According to Support metrics you should be using 64-bit operating system instead of 32-bit. You have mentioned that you are using "CentOS release 6.6 (32 bit)".
2. Please check if your remote repository is configured properly or not? (for 64 bit)
# yum clean all # yum repolist # yum whatprovides hadoop # yum whatprovides hadoop-yarn
.
The yum whatprovides output should show the repository in which the mentioned package is available. If it does not show anything then it means your remote repository setup is not correct. In that case try using the Hortonworks repository directly or fix your remote repository.
Created 04-09-2017 02:03 PM
1. According to Support metrics you should be using 64-bit operating system instead of 32-bit. You have mentioned that you are using "CentOS release 6.6 (32 bit)".
2. Please check if your remote repository is configured properly or not? (for 64 bit)
# yum clean all # yum repolist # yum whatprovides hadoop # yum whatprovides hadoop-yarn
.
The yum whatprovides output should show the repository in which the mentioned package is available. If it does not show anything then it means your remote repository setup is not correct. In that case try using the Hortonworks repository directly or fix your remote repository.
Created 04-10-2017 02:13 AM
Thanks for your answer, it's seems so, the problem is in 32 bit operating system.
Created 04-21-2017 05:16 AM
==> Dependency package issue required to set CentOS iso image to be mounted on repository server, and update the repo file, it required during the installation - yum install hadoop hadoop-hdfs hadoop-libhdfs hadoop-yarn hadoop-mapreduce hadoop-client openssl
-mount -o loop /<CentOS iso file> /<mount directory>
-Update the /etc/yum.repo.d/<CentOS.repo> file
-yum repolist
repolist show up with-out any issue, then re-try installation.