V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
dtgxx
V2EX  ›  问与答

ambari-2.7.4.0 安装第九步总卡在这里

  •  
  •   dtgxx · 2021-04-02 18:15:04 +08:00 · 737 次点击
    这是一个创建于 1350 天前的主题,其中的信息可能已经有所发展或是发生改变。

    试了很多次,搜不到这个问题。。大佬们帮帮忙呀!!


    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

    dtgxx
        1
    dtgxx  
    OP
       2021-04-02 18:45:38 +08:00
    Configuration parameter 'user.name' was not found in configurations

    不知道咋解决,大佬们帮帮呀!
    dtgxx
        2
    dtgxx  
    OP
       2021-04-02 19:07:27 +08:00
    找到原因了。。。。hbase 的 dir 配置有问题,之前用的是
    {user name} 识别不了那个 user name
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3178 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 10:43 · PVG 18:43 · LAX 02:43 · JFK 05:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.