为什么Kafka在Ambari的安装上失败了?

ki0zmccv  于 2021-06-06  发布在  Kafka
关注(0)|答案(0)|浏览(221)

我正在尝试使用ambari安装hortonworksdataflow3.3。在安装服务之前,它在kafka上失败。我尝试过删除和重新创建回购,但没有成功。错误说明找不到baseurl。我正在使用下面的baseurl。有人碰到过这个问题吗?http://public-repo-1.hortonworks.com/hdf/centos7/3.x/updates/3.3.0.0
获取hdf-3.3的存储库数据时出错,未找到存储库
2019-04-05 10:47:03346-“kafka broker”组件未公布版本。这可能表明部件 Package 有问题。traceback(最近一次调用last):文件“/var/lib/ambari-agent/cache/stacks/hdf/3.3/services/kafka/package/scripts/kafka\u broker.py”,第145行,在kafkabroker().execute()文件“/usr/lib/ambari-agent/lib/resource\u-management/libraries/script/script.py”的第351行,在execute method(env)file“/var/lib/ambari agent/cache/stacks/hdf/3.3/services/kafka/package/scripts/kafka\u broker.py”第40行,在install self.install\u packages(env)file“/usr/lib/ambari agent/lib/resource\u management/libraries/script/script.py”第836行,在install_packages name=self.format_package_name(package['name'])file“/usr/lib/ambari agent/lib/resource_management/libraries/script/script.py”行558中,在format_package_name return self.get_package_from_available(name)file“/usr/lib/ambari agent/lib/resource_management/libraries/script/script.py”行525中,在get_package_from_available raise fail(“找不到{0}(预期名称:{1})”的包)。format(name,name_with_version))resource_management.core.exceptions.fail:找不到kafka${stack_version}(预期名称:kafka_3_3)的包
019-04-05 10:46:55948-堆栈功能版本信息:cluster stack=3.3,command stack=none,command version=none->3.3 2019-04-05 10:46:55951-group['hadoop']{}2019-04-05 10:46:55952-group['nifi']{}2019-04-05 10:46:55952-user['logsearch']{'gid':'hadoop','fetch非本地\u groups':true,'groups':['hadoop'],'uid':none}2019-04-05 10:46:55965-用户['infra-solr']{'gid':'hadoop','fetch\u nonlocal\u groups':true,'groups':['hadoop'],'uid':none}2019-04-05 10:46:55980-用户['zookeeper']{'gid':'hadoop','fetch\u nonlocal\u groups':true,'groups':['hadoop'],'uid':none}2019-04-05 10:46:56006-用户['ams']{'gid':'hadoop','fetch\u nonlocal\u groups':true,'groups':['hadoop'],'uid':none}2019-04-05 10:46:56022-用户['ambari-qa']{'gid':'hadoop','fetch\u nonlocal\u groups':true,'groups':['hadoop'],'uid':none}2019-04-05 10:46:56033-用户['kafka']{'gid':'hadoop','fetch\u nonlocal\u groups':true,'groups':['hadoop'],'uid':none}2019-04-05 10:46:56,057-用户['nifi']{'gid':'hadoop','fetch\u nonlocal\u groups':true,'groups':['nifi'],'uid':none}2019-04-05 10:46:56068-文件['/var/lib/ambari-agent/tmp/changeuid.sh']{'content':静态文件('changetosecureuid.sh'),'mode':0555}2019-04-05 10:46:56070-执行['/var/lib/ambari-agent/tmp/changeuid.sh ambari-qa/tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari qa,/tmp/ambari qa,/tmp/sqoop ambari qa 0']{'not_if':'(test$(id-u ambari qa)-gt 1000)| |(false)}2019-04-05 10:46:56074-跳过执行['/var/lib/ambari agent/tmp/changeuid.sh ambari qa/tmp/hadoop ambari qa,/tmp/hsperfdata_ambari-qa,/home/ambari qa,/tmp/ambari qa,/tmp/sqoop ambari qa 0']如果2019-04-05 10:46:56085-ambari 2019-04-05 10:46:56085不管理hdf/3.3/hdf-3.3的存储库-ambari 2019-04-05 10:46:56085-hdf/3.3/hdp-utils-1.1.0.22的存储库-ambari 2019-04-05 10:46:56085-存储库[无]{操作':['创建']}2019-04-05 10:46:56,087-包['unzip']{'retry\u on \u repo\u unavailability':false,'retry\u count':5}2019-04-05 10:46:56237-跳过现有包的安装解压缩2019-04-05 10:46:56237-包['curl']{'retry\u on \u repo\u unavailability':false,'retry\u count':5}2019-04-05 10:46:56257-跳过现有包curl 2019-04-05 10:46:56的安装,257-包['hdf-select']{'retry\u on\u repo\u unavailability':false,'retry\u count':5}2019-04-05 10:46:56276-跳过现有包的安装hdf select 2019-04-05 10:46:56321-调用[('ambari-python-wrap',u'/usr/bin/hdf select','versions')]{}2019-04-05 10:46:56339-返回调用(1,'traceback(最近一次调用):\n file“/usr/bin/hdf select”,第406行,在printversions()\n file“/usr/bin/hdf select”,第251行,在printversions中,对于os.listdir(root):\n错误:[errno 2]没有这样的文件或目录:'/usr/hdf'')2019-04-05 10:46:56571-命令库:hdf-3.3,hdp-utils-1.1.0.22 2019-04-05 10:46:56,571-适用存储库:hdf-3.3,hdp-utils-1.1.0.22 2019-04-05 10:46:56572-在以下存储库中查找匹配的包:hdf-3.3,hdp-utils-1.1.0.22 2019-04-05 10:46:56795-命令执行错误:command=“/usr/bin/yum list available--showduplicates--disablerepo=*--enablerepo hdf-3.3”,退出代码=1,stderr=
获取hdf-3.3的存储库数据时出错,未找到存储库
2019-04-05 10:47:03326-调用[('ambari-python-wrap',u'/usr/bin/hdf select','versions')]{}2019-04-05 10:47:03346-返回调用(1,'回溯(最近一次调用):\n file“/usr/bin/hdf select”,第406行,在printversions()\n file“/usr/bin/hdf select”,第251行,在os.listdir(root)中的f的printversions中:\n错误:[errno 2]没有这样的文件或目录:'/usr/hdf'')2019-04-05 10:47:03346-“kafka broker”组件没有公布版本。这可能表明部件 Package 有问题。
尝试1次后命令失败

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题