试了很多次,搜不到这个问题。。大佬们帮帮忙呀!!
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
1
dtgxx OP |
2
dtgxx OP 找到原因了。。。。hbase 的 dir 配置有问题,之前用的是
{user name} 识别不了那个 user name |