Support Questions

Find answers, ask questions, and share your expertise

Dependency Resolution Error

avatar
New Contributor

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)

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Yermek Kkk

@Yermek Kkk

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)".

http://dev.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP2/HDP-2.5.0/bk_release-notes/content/ch0...

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.

View solution in original post

4 REPLIES 4

avatar
Master Mentor

@Yermek Kkk

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)".

http://dev.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP2/HDP-2.5.0/bk_release-notes/content/ch0...

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.

avatar
Master Mentor

@Yermek Kkk

@Yermek Kkk

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)".

http://dev.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP2/HDP-2.5.0/bk_release-notes/content/ch0...

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.

avatar
New Contributor

Thanks for your answer, it's seems so, the problem is in 32 bit operating system.

avatar
Rising Star

==> 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.