问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

ambari 安装 哪些services

发布网友 发布时间:2022-08-15 17:25

我来回答

1个回答

热心网友 时间:2023-09-17 17:26

我也遇到了类似问题,不知道怎么解决,你的解决了吗?我的错如下,你看看是否有遇到过,谢谢。
stderr: /var/lib/ambari-agent/data/errors-413.txt

2015-03-11 09:34:49,348 - Error while executing command 'any':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 123, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py", line 31, in hook
setup_hadoop_env()
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py", line 113, in setup_hadoop_env
content=InlineTemplate(params.hadoop_env_sh_template)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 93, in action_create
raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource, dirname))
Fail: Applying File['/etc/hadoop/conf/hadoop-env.sh'] failed, parent directory /etc/hadoop/conf doesn't exist
Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-413.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-413.json', 'INFO', '/var/lib/ambari-agent/data/tmp']
stdout: /var/lib/ambari-agent/data/output-413.txt

2015-03-11 09:34:48,511 - Group['hadoop'] {'ignore_failures': False}
2015-03-11 09:34:48,512 - Adding group Group['hadoop']
2015-03-11 09:34:48,586 - Group['nobody'] {'ignore_failures': False}
2015-03-11 09:34:48,587 - Modifying group nobody
2015-03-11 09:34:48,663 - Group['users'] {'ignore_failures': False}
2015-03-11 09:34:48,663 - Modifying group users
2015-03-11 09:34:48,737 - Group['nagios'] {'ignore_failures': False}
2015-03-11 09:34:48,738 - Adding group Group['nagios']
2015-03-11 09:34:48,810 - User['nobody'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'nobody']}
2015-03-11 09:34:48,811 - Modifying user nobody
2015-03-11 09:34:48,885 - User['nagios'] {'gid': 'nagios', 'ignore_failures': False, 'groups': [u'hadoop']}
2015-03-11 09:34:48,886 - Adding user User['nagios']
2015-03-11 09:34:48,958 - User['ambari-qa'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
2015-03-11 09:34:48,958 - Adding user User['ambari-qa']
2015-03-11 09:34:49,027 - User['zookeeper'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2015-03-11 09:34:49,028 - Adding user User['zookeeper']
2015-03-11 09:34:49,103 - User['hdfs'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2015-03-11 09:34:49,104 - Adding user User['hdfs']
2015-03-11 09:34:49,177 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2015-03-11 09:34:49,180 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 2>/dev/null'] {'not_if': 'test $(id -u ambari-qa) -gt 1000'}
2015-03-11 09:34:49,253 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 2>/dev/null'] e to not_if
2015-03-11 09:34:49,254 - Directory['/etc/hadoop/conf.empty'] {'owner': 'root', 'group': 'root', 'recursive': True}
2015-03-11 09:34:49,255 - Link['/etc/hadoop/conf'] {'not_if': 'ls /etc/hadoop/conf', 'to': '/etc/hadoop/conf.empty'}
2015-03-11 09:34:49,328 - Skipping Link['/etc/hadoop/conf'] e to not_if
2015-03-11 09:34:49,348 - File['/etc/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs'}
2015-03-11 09:34:49,348 - Error while executing command 'any':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 123, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py", line 31, in hook
setup_hadoop_env()
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py", line 113, in setup_hadoop_env
content=InlineTemplate(params.hadoop_env_sh_template)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 93, in action_create
raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource, dirname))
Fail: Applying File['/etc/hadoop/conf/hadoop-env.sh'] failed, parent directory /etc/hadoop/conf doesn't exist
Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-413.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-413.json', 'INFO', '/var/lib/ambari-agent/data/tmp']
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
现在思科的CCNA,CCNE,CCIP的考证费分别是多少啊,通过率怎样 长春小飞没有车没有房 碳钢的多久生锈 碳钢多久会生锈 碳钢多长时间会开始生锈 碳钢和铝哪个容易生锈 梦见天宫图是什么意思 光遇2023好友树解锁图鉴 光遇二级节点多少个 ...火柴小女孩》《词语手册》里有很多词语的意思的,求告知 暖融融解释 nagios中文包问题 《NagiosSystemandNetworkMonitoring》epub下载在线阅读,求百度网盘云资源 电脑主机打开没有滴声,显示器也没信号。请问是什么原因 分期消费用哪家比较好啊,我之前都是用蚂蚁花呗。唯品花怎么样?最近想换一个更好的分期消费方式,各位达 联想拯救者游戏本系统是预装在固态上还是机械 我买的是拯救者。512g的ssd 貌似没有机械。那我的这些盘都是ssd的吗? 越南银行星期六星期天上班吗?就是柜台个人业务,另外从国内打钱到越南用西联汇款要多久到? 越南工薪层上下班时间 掼蛋最多出几张 异性备注小公主是什么意思? 被人叫做小公主是什么意思 说话时自己听到的声音和别人听到的不同吗 原神电脑配置问题? 我想请问我13年买的技嘉H61M-S1的主板可以换i5 3570k的cpu和gtx690ti的显卡 刀锋ti690是丐版吗 原神PC端资源包放到移动硬盘会不会卡 英伟达660ti显卡好还是英伟达690ti好? 玩原神的时候获取不了游戏,说是硬内存不够内存不够,装固态硬盘有没有用? 我电脑昨天还是好的,今天怎么就没声音了呢? 微信聊天怎么没声音 定频空调压缩机不工作,电容没坏这是什么情况? 苹果13支持双微信吗 建筑工程中哪些设备房间需要进行防水处理 卧室与公共管道间相邻,进行维修时我家相邻墙和地面就渗水,设备间是否应做防水处理?有相关的法规吗? 设备平台和设备间地面有没有强规一定要做防水 物权法规定:禁止(二)将没有防水要求的房间或者阳台改为卫生间、厨房间;什么意思 楼上没做防水漏水了造成的损失由谁负责 你好,我们去年买的房子。装修的时候才知道室内都没有做防水,请问这样的房子合格吗?还有就是我们今年... 企业微信怎样解绑绑定的? 显卡10505g是正版吗 某宝商家卖网吧直供的gtx1050 5g版本 有3年质保 和sn吗 可以买吗 求大佬 三星驯龙骑士1050-5g显卡为什么没有1050-2G打分高? 形容声音音质逼真 成语 K50玩王者荣耀有必要开2K吗 k50一直开高刷还是智能 K50开不开2k对耗电影响大吗 为什么苹果5S下载不了微信 硫燃烧时集气瓶底部放少量水的目的 做铁丝在氧气中燃烧实验和硫在氧气中燃烧实验时,集气瓶底部都加有少量的水,其作用分别是什么? 初三化学,硫在氧气瓶中燃烧的实验中,瓶底下装有水的作用是什么,回答两点。