Datanode install fails 2017-04-13 14:20:28,416 - Execution of '/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_0_3_8-client' returned 1. Error: Package: hadoop_2_6_0_3_8-hdfs-126.96.36.199.6.0.3-8.x86_64 (HDP-2.6)
That would not work, because none of the repos (EPEL,HDP Utils,RHEL Primary) have that library
RHEL has bug fix https://rhn.redhat.com/errata/RHBA-2016-2005.html, cant see to find the rpm though
the one from rpmfind doesnt seem to work since it has other dependency mis-match
BTW it works in Centos/AWS AMI just fine, but we have RHEL 7 requirement
There seems to be an confusion here:
Check in below link:
CentOS (64-bit)CentOS v7.xCentOS v6.xDebianDebian v7.xOracle (64-bit)Oracle Linux v7.xOracle Linux v6.xSUSE (64-bit)(SLES) Enterprise Linux 12, SP2 for Teradata(SLES) Enterprise Linux 12, SP1(SLES) Enterprise Linux 11, SP4 (HDP 2.2 and later)(SLES) Enterprise Linux 11, SP3 for Teradata (HDP 2.2 and later)(SLES) Enterprise Linux 11, SP1 (HDP 2.2)Ubuntu (64-bit)Ubuntu 16.04 (Xenial)Ubuntu 14.04 (Trusty)
There is no mention about RHEL7.x
ENV: OS: RHEL 7.3, Ambari 188.8.131.52 and HDP 2.6
For this issue, we fixed by enabling following RHEL optional rpm repo.
I had this problem earlier this month, after many fails, I resolved my problem by running the command below on each nodes of my cluster (ambari-server + ambari-agents) :
sudo yum install ftp://mirror.switch.ch/pool/4/mirror/centos/7.3.1611/os/x86_64/Packages/libtirpc-devel-0.2.4-0.8.el7.x86_64.rpm
I just pick up libtirpc-devel from a FTP repository and yum install it
If this works for you, you will most likely have to remove snappy and reinstal it on each nodes too :
sudo yum remove snappy
sudo yum install snappy-devel
I had the same issue. I fixed it by installing 'libtirpc-devel' package manually in all nodes.
wget ftp://fr2.rpmfind.net/linux/centos/6.8/os/x86_64/Packages/libtirpc-devel-0.2.1-11.el6.x86_64.rpm rpm -i libtirpc-devel-0.2.1-11.el6.x86_64.rpm Note :- If you have 'libtirpc-0.2.1-11' already installed in your system. Make sure you download and install the same version of 'libtirpc-devel'
Ambari should have included this dependency package.
I had same issue on rhel 7 with below error
Execution of '/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_3_0_235-hdfs' returned 1. Error: Package: hadoop_2_6_3_0_235-hdfs-184.108.40.206.6.3.0-235.x86_64 (HDP-2.6-repo-101) Requires: libtirpc-devel You could try using --skip-broken to work around the problem
Please check the Red Hat Enterprise Linux Server 7 Optional (RPMs) enabled on all nodes with below command
# yum repolist all (To check enabled or disabled)
!rhui-REGION-rhel-server-optional/7Server/x86_64 Red Hat Enterprise Linux Server 7 Optional (RPMs) Disabled:
#yum-config-manager --enable rhui-REGION-rhel-server-optional ( enabling the optional rpms)
Cross verify with first command to get it optional rpms enabled
# yum repolist all
!rhui-REGION-rhel-server-optional/7Server/x86_64 Red Hat Enterprise Linux Server 7 Optional (RPMs) enabled: 13,201