Rhel
安裝 hadoop_2_6_1_0_129-hdfs
嘗試安裝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
你還能嘗試做什麼?
據我從您的輸出中可以看出
libtirpc-devel
,HDP 2.6 需要該軟體包。請注意libtirpc
和libtirpc-devel
是不同的包。您可以搜尋它,即按yum whatprovides libtirpc-devel
. 根據您的發行版,您可能需要啟用其他儲存庫。