yae*_*ael 2 linux yum rpm repository
在 hive 安装过程中出现以下错误
/usr/bin/yum install hive_2_6_0_3_8
Installing : hive_2_6_0_3_8-1.2.1000.2.6.0.3-8.noarch
1/1
Error unpacking rpm package hive_2_6_0_3_8-1.2.1000.2.6.0.3-8.noarch
error: unpacking of archive failed on file /usr/hdp/2.6.0.3-8/hive/conf:
cpio: rename
Verifying : hive_2_6_0_3_8-1.2.1000.2.6.0.3-8.noarch
1/1
Failed:
hive_2_6_0_3_8.noarch 0:1.2.1000.2.6.0.3-8
Complete!
Run Code Online (Sandbox Code Playgroud)
这里到底有什么问题?
ls -ltd /usr/hdp/2.6.0.3-8/hive/conf
drwxr-xr-x. 3 root root 24 Nov 26 14:16 /usr/hdp/2.6.0.3-8/hive/conf
ls -ltr /usr/hdp/2.6.0.3-8/hive/conf
total 0
drwxr-xr-x. 2 hive hadoop 6 Nov 26 14:16 conf.server
rpm -qa | grep hive | grep 1000
hive_2_6_0_3_8-jdbc-1.2.1000.2.6.0.3-8.noarch
Run Code Online (Sandbox Code Playgroud)
在包 hive_2_6_0_3_8-1.2.1000.2.6.0.3-8.noarch 中,这/usr/hdp/2.6.0.3-8/hive/conf
是常规文件。在您的系统上它是一个目录。cpio(以及 rpm)无法将目录转换为文件(反之亦然)。只需删除(或移走)该目录/usr/hdp/2.6.0.3-8/hive/conf
,然后重试。
归档时间: |
|
查看次数: |
5799 次 |
最近记录: |