尝试安装Hadoop集群
应用程序时间轴服务器安装返回错误:
2018-02-26 19:31:49,406 - Installing package hadoop_2_6_1_0_129-hdfs ('/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_1_0_129-hdfs')
2018-02-26 19:31:51,614 - Execution of '/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_1_0_129-hdfs' returned 1. Error: Package: hadoop_2_6_1_0_129-hdfs-2.7.3.2.6.1.0-129.x86_64 (HDP-2.6)
尝试在服务器上执行命令:
/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_1_0_129-hdfs
Error: Package: hadoop_2_6_1_0_129-hdfs-2.7.3.2.6.1.0-129.x86_64 (HDP-2.6)
Requires: libtirpc-devel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
试图找到 libtirpc-devel
yum search libtirpc
Loaded plugins: langpacks, ulninfo
=============================================================================================== N/S matched: libtirpc ===============================================================================================
libtirpc.i686 : Transport Independent RPC Library
libtirpc.x86_64 : Transport Independent RPC Library
已安装
yum install libtirpc.i686
Loaded plugins: langpacks, ulninfo
Package libtirpc-0.2.4-0.10.el7.i686 already installed and latest version
Nothing to do
尝试安装更多时间并再次返回错误:
/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_1_0_129-hdfs
Error: Package: hadoop_2_6_1_0_129-hdfs-2.7.3.2.6.1.0-129.x86_64 (HDP-2.6)
Requires: libtirpc-devel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
您还可以尝试做什么?
答案1
据我从您的输出中看到,libtirpc-devel
HDP 2.6 需要该软件包。请注意libtirpc
和libtirpc-devel
是不同的包。您可以通过 来搜索它yum whatprovides libtirpc-devel
。根据您的发行版,您可能需要启用额外的存储库。