Apache Ambari HDP 2.5上的Hive安装失败

时间:2017-07-27 03:18:29

标签: hive ambari hdpi



    2017-07-27 09:49:35,736 - Execution of '/usr/bin/yum -d 0 -e 0 -y install hive2_2_5_3_0_37' returned 1. Error: Package: hive2_2_5_3_0_37-2.1.0.2.5.3.0-37.el6.noarch (HDP-2.5)
           Requires: python-argparse
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
2017-07-27 09:49:35,737 - Failed to install package hive2_2_5_3_0_37. Executing '/usr/bin/yum clean metadata'
2017-07-27 09:49:35,961 - Retrying to install package hive2_2_5_3_0_37 after 30 seconds




argparse API适用于系统Python 2.6.6,但仍然安装失败并打印'要求:python-argparse'登录。 你能告诉我我能做些什么吗?

1 个答案:

答案 0 :(得分:0)

报告的错误Requires: python-argparse表示未安装python-argparse rpm。使用以下命令安装它以解决问题。

yum install python-argparse