我无法通过Ambari 2.2.1.1部署HDP堆栈(hdfs,yarn,spark .etc)。我收到了这个错误:
追踪(最近一次通话): 文件“/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py”,第35行, BeforeAnyHook()执行() 文件“/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py”,第219行,执行 方法(ENV) 文件“/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py”,第29行,挂钩 setup_users() 在setup_users中输入文件“/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py”,第43行 fetch_nonlocal_groups = params.fetch_nonlocal_groups 在 init 中输入文件“/usr/lib/python2.6/site-packages/resource_management/core/base.py”,第149行 self.arguments [key] = arg.validate(value) 文件“/usr/lib/python2.6/site-packages/resource_management/core/base.py”,第56行,在验证中 如果没有值(真,假): 文件“/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py”,第81行, getattr 提升失败(在配置字典中找不到“配置参数'”+ self.name +“') resource_management.core.exceptions.Fail:在配置字典中找不到配置参数'fetch_nonlocal_groups'! 错误:错误:无法运行自定义挂钩脚本['/ usr / bin / python','/ var / lib / ambari-agent / cache / stack / HDP / 2.0.6 / hook / before -ANY / scripts / hook .py','ANY','/ var / lib / ambari-agent / data / command-387.json','/ var / lib / ambari-agentnt / cache / stacks / HDDP / 2.0.6 / hook / before -ANY','/ var / lib / ambari-agentnt / data /structured-out387.json','INFO','/ var / lib / ambari-agent / tmp']
之前有人看到此错误吗?提前谢谢!