Hi, Please uninstall hadoop_2_6_4_0_91-yarn.x86_64 from my-yum-local-repo. Then, remove this repo by searching /etc/yum.repos.d for my-yum-local-repo. After this, you can retry the install.
From: Lian Jiang <jiangok2...@gmail.com> Reply-To: "user@ambari.apache.org" <user@ambari.apache.org> Date: Wednesday, June 13, 2018 at 11:00 PM To: "user@ambari.apache.org" <user@ambari.apache.org> Subject: Cannot match package for regexp name Hi, My cluster installed using ambari has two datanodes. One of them failed to install nodemanager due to error: resource_management.core.exceptions.Fail: Cannot match package for regexp name hadoop_${stack_version}-yarn. # for kafka broker which can be installed successfully, I see: yum list installed | grep kafka kafka_2_6_4_0_91.noarch 0.10.1.2.6.4.0-91 @HDP-2.6-repo-1 # for nodemanager which fail to install, I see: yum list installed | grep yarn hadoop_2_6_4_0_91-yarn.x86_64 2.7.3.2.6.4.0-91 @my-yum-local-repo I guess yarn is associated with wrong repo. How can I fix this? Appreciate any help!