试了很多次,搜不到这个问题。。大佬们帮帮忙呀!!
stderr: Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/metrics_collector.py", line 90, in <module> AmsCollector().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/metrics_collector.py", line 34, in install import params File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/params.py", line 296, in <module> hbase_tmp_dir = substitute_vars(_hbase_tmp_dir, config['configurations']['ams-hbase-site']) File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/substitute_vars.py", line 49, in substitute_vars result = result[:start] + value + result[end:] File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/config_dictionary.py", line 73, in getattr raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!") resource_management.core.exceptions.Fail: Configuration parameter 'user.name' was not found in configurations dictionary! stdout:
... ... ...
2021-04-02 17:59:59,923 - Writing File['/tmp/tmp_as9ox'] because contents don't match 2021-04-02 17:59:59,923 - File['/tmp/tmpRsLCoO'] {'content': StaticFile('/etc/yum.repos.d/ambari-hdp-1.repo')} 2021-04-02 17:59:59,924 - Writing File['/tmp/tmpRsLCoO'] because contents don't match 2021-04-02 17:59:59,924 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2021-04-02 18:00:00,009 - Skipping installation of existing package unzip 2021-04-02 18:00:00,009 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2021-04-02 18:00:00,024 - Skipping installation of existing package curl 2021-04-02 18:00:00,024 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2021-04-02 18:00:00,039 - Skipping installation of existing package hdp-select 2021-04-02 18:00:00,049 - Skipping stack-select on AMBARI_METRICS because it does not exist in the stack-select package structure. 2021-04-02 18:00:00,321 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2021-04-02 18:00:00,333 - Skipping stack-select on AMBARI_METRICS because it does not exist in the stack-select package structure.
Command failed after 1 tries
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.