为什么Kafka的ambari安装失败?

时间:2019-04-05 15:01:19

标签: apache-kafka ambari hortonworks-dataflow

我正在尝试使用ambari安装Horton Works数据流3.3。在安装服务之前,它在Kafka上失败。我尝试删除并重新创建存储库,但没有成功。该错误表明它找不到基本URL。我正在使用下面的baseurl。有人遇到过这个问题吗? http://public-repo-1.hortonworks.com/HDF/centos7/3.x/updates/3.3.0.0

  

获取HDF-3.3的存储库数据时出错,找不到存储库

     

2019-04-05 10:47:03,346-'kafka-broker'组件没有   宣传版本。这可能表明组件有问题   打包。追溯(最近一次通话):文件   “ /var/lib/ambari-agent/cache/stacks/HDF/3.3/services/KAFKA/package/scripts/kafka_broker.py”,   第145行,在       KafkaBroker()。execute()文件“ /usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py”,   第351行,在执行中       method(env)文件“ /var/lib/ambari-agent/cache/stacks/HDF/3.3/services/KAFKA/package/scripts/kafka_broker.py”,   40行,安装中       self.install_packages(env)文件“ /usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py”,   第836行,在install_packages中       name = self.format_package_name(package ['name'])文件“ /usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py”,   第558行,采用format_package_name       返回self.get_package_from_available(name)文件“ /usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py”,   525行,位于get_package_from_available中       引发失败(“未找到{0}的程序包(预期名称:{1})”。格式(名称,名称_使用_版本))   resource_management.core.exceptions.Fail:找不到以下软件包   kafka _ $ {stack_version}(预期名称:kafka_3_3)

     

019-04-05 10:46:55,948-堆栈功能版本信息:群集   堆栈= 3.3,命令堆栈=无,命令版本=无-> 3.3 2019-04-05   10:46:55,951-Group ['hadoop'] {} 2019-04-05 10:46:55,952-   Group ['nifi'] {} 2019-04-05 10:46:55,952-User ['logsearch'] {'gid':   'hadoop','fetch_nonlocal_groups':True,'groups':['hadoop'],'uid':   None} 2019-04-05 10:46:55,965-User ['infra-solr'] {'gid':'hadoop',   'fetch_nonlocal_groups':True,'groups':['hadoop'],'uid':无}   2019-04-05 10:46:55,980-用户['zookeeper'] {'gid':'hadoop',   'fetch_nonlocal_groups':True,'groups':['hadoop'],'uid':无}   2019-04-05 10:46:56,006-用户['ams'] {'gid':'hadoop',   'fetch_nonlocal_groups':True,'groups':['hadoop'],'uid':无}   2019-04-05 10:46:56,022-用户['ambari-qa'] {'gid':'hadoop',   'fetch_nonlocal_groups':True,'groups':['hadoop'],'uid':无}   2019-04-05 10:46:56,033-用户['kafka'] {'gid':'hadoop',   'fetch_nonlocal_groups':True,'groups':['hadoop'],'uid':无}   2019-04-05 10:46:56,057-用户['nifi'] {'gid':'hadoop',   'fetch_nonlocal_groups':True,'groups':['nifi'],'uid':无}   2019-04-05 10:46:56,068-   文件['/var/lib/ambari-agent/tmp/changeUid.sh'] {'内容':   StaticFile('changeToSecureUid.sh'),'mode':0555} 2019-04-05   10:46:56,070-执行['/var/lib/ambari-agent/tmp/changeUid.sh   安巴里卡   / tmp / hadoop-ambari-qa,/ tmp / hsperfdata_ambari-qa,/ home / ambari-qa,/ tmp / ambari-qa,/ tmp / sqoop-ambari-qa   0'] {'not_if':'(测试$(id -u ambari-qa)-gt 1000)|| (假)'}   2019-04-05 10:46:56,074-跳过   执行['/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 2019-04-05 10:46:56,085-的存储库   HDF / 3.3 / HDF-3.3不是由Ambari管理的2019-04-05 10:46:56,085-   HDF / 3.3 / HDP-UTILS-1.1.0.22的存储库不受Ambari管理   2019-04-05 10:46:56,085-存储库[无] {'action':['create']}   2019-04-05 10:46:56,087-包裹['unzip']   {'retry_on_repo_unavailability':False,'retry_count':5} 2019-04-05   10:46:56,237-跳过现有软件包解压缩安装   2019-04-05 10:46:56,237-包裹['卷曲']   {'retry_on_repo_unavailability':False,'retry_count':5} 2019-04-05   10:46:56,257-跳过现有卷装的安装   2019-04-05 10:46:56,257-包裹['hdf-select']   {'retry_on_repo_unavailability':False,'retry_count':5} 2019-04-05   10:46:56,276-跳过现有软件包hdf-select的安装   2019-04-05 10:46:56,321-呼叫[('ambari-python-wrap',   u'/ usr / bin / hdf-select','versions')] {} 2019-04-05 10:46:56,339-致电   返回(1,“追踪(最近一次通话结束):\ n文件   \ n printVersions()\ n中的“ / usr / bin / hdf-select”,第406行   在f的printVersions \ n中,文件“ / usr / bin / hdf-select”,第251行   os.listdir(root):\ nOSError:[Errno 2]没有这样的文件或目录:   \'/ usr / hdf \'')2019-04-05 10:46:56,571-命令存储库:   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:56,572-   在以下存储库中寻找匹配的软件包:HDF-3.3,   HDP-UTILS-1.1.0.22 2019-04-05 10:46:56,795-命令执行错误:   命令=“ / usr / bin / yum列表可用--showduplicates   --disablerepo = * --enablerepo = HDF-3.3“,退出代码= 1,stderr =

     

获取HDF-3.3的存储库数据时出错,找不到存储库

     

2019-04-05 10:47:03,326-调用[('ambari-python-wrap',   u'/ usr / bin / hdf-select','versions')] {} 2019-04-05 10:47:03,346-致电   返回(1,“追踪(最近一次通话结束):\ n文件   \ n printVersions()\ n中的“ / usr / bin / hdf-select”,第406行   在f的printVersions \ n中,文件“ / usr / bin / hdf-select”,第251行   os.listdir(root):\ nOSError:[Errno 2]没有这样的文件或目录:   \'/ usr / hdf \'')2019-04-05 10:47:03,346-'kafka-broker'组件   没有发布版本。这可能表明   组件包装。

1次尝试后命令失败

0 个答案:

没有答案