【问题标题】:How to config the heron-core file in Heron 0.17.5 version?Heron 0.17.5版本如何配置heron-core文件?
【发布时间】:2018-09-06 09:35:41
【问题描述】:

当我使用 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
谢谢你的回答。

【问题讨论】:

  • 你可以尝试在scheduler.yaml配置“heron.package.core.uri”

标签: heron


【解决方案1】:

“我发现本地/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 目录中。

【讨论】:

  • 对不起。是的,我的意思是“heron-core.tar.gz”文件。当我安装 heron 0.17.1 版本时,我可以在 {HERON_HOME}/.heron/dist 目录中找到 heron-core.tar.gz 文件。但是用0.17.5安装Heron后没有heron-core.tar.gz。但是,正如您所说,我可以在“heron-0.17.5-ubuntu.tar.gz”中找到heron-core.tar.gz,所以我会尝试将文件复制到HDFS并配置heron.core.url在 client.yaml 中。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-12-22
  • 1970-01-01
  • 2019-03-05
  • 1970-01-01
相关资源
最近更新 更多