首页 > 解决方案 > Heron 0.17.5版本如何配置heron-core文件?

问题描述

当我使用 heron 0.17.1 版本时,我可以配置 heron-core 文件如下:

# location of the core package
heron.package.core.uri:                      "/heron/dist/heron-core.tar.gz"

# Whether role/env is required to submit a topology. Default value is False.
heron.config.is.role.required:               True
heron.config.is.env.required:                True

在这个配置中,我部署了 Heron 0.17.1 版本,HDFS 作为其上传器。所以我将本地文件 /heron/dist/heron-core.tar.gz 文件复制到 HDFS 中的 hdfs://heron/disk ,它工作了。
但是,当我将 Heron 的版本从 0.17.1 更新到 0.17.5 时,我发现本地 /heron/dist 目录下没有 heron-core.tar.gz 文件。但是它仍然需要在Client.yaml中配置heron-core.tar.gz url:

# location of the core package
# heron.package.core.uri:                      "file:///vagrant/.herondata/dist/heron-core-release.tar.gz"

# Whether role/env is required to submit a topology. Default value is False.
heron.config.is.role.required:               True
heron.config.is.env.required:                True

那么当我使用 Heron 0.17.5 版本时,我应该怎么做才能在 Client.yaml 中配置 heron-core url?详细测试了一下没有配置heron-core url的Heron集群,还是不行。可以看到 Heron 版本在 0.17.5 的变化是#2684
感谢您的回答。

标签: heron

解决方案


“我发现本地 /heron/dist 目录中没有 core-core.tar.gz 文件。”。你的意思是“苍鹭核心.tar.gz”?我检查了 centos 构建(https://github.com/apache/incubator-heron/releases/download/0.17.5/heron-0.17.5-centos.tar.gz),我相信 heron-core.tar.gz位于 dist 目录中。


推荐阅读