【问题标题】:ERROR StatusLogger Reconfiguration failed: No configuration found for '511d50c0' at 'null' in 'null'ERROR StatusLogger Reconfiguration failed: No configuration found for '511d50c0' at 'null' in 'null'
【发布时间】:2017-06-28 10:56:02
【问题描述】:

我是 Storm 的新手。我在本地机器上安装了 zookeeper、storm、java。动物园管理员工作正常。当我尝试使用命令storm nimbus 运行nimbus 时,出现以下错误。

错误状态记录器无法访问文件:///log4j2/cluster.xml ERROR StatusLogger Reconfiguration failed: No configuration found for '511d50c0' at 'null' in 'null'

我检查了storm.yaml 文件,一切都很完美。有人可以帮我解决这个问题吗?

【问题讨论】:

    标签: apache-storm


    【解决方案1】:

    你的风暴版本是什么?

    在较新的版本中,问题是由配置文件的旧配置引起的:storm/conf/storm.yaml。在 Storm 1.1 版本中,使用 nimbus.seeds 代替 nimbus.host。

    【讨论】:

    • 我不得不更改storm的配置文件。我只使用了 nimbus.seeds。非常感谢。
    【解决方案2】:

    log4j.configuration 期望文件位于类路径中,而 log4j.configurationFile 期望它作为文件路径。

    更改属性文件或配置文件位置模式:从:-Dlog4j.configuration=file 到:-Dlog4j.configurationFile

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-12-02
      • 2017-08-14
      • 1970-01-01
      • 2016-10-16
      相关资源
      最近更新 更多