heron - 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/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 目录中。
推荐阅读
- python - Python(熊猫)试图根据值将两列合并为一列的新列
- npm - 已安装 npm 7,但仍需要版本 6
- javascript - 使用 .slide() 滑动元素
- html - 嵌入来自谷歌驱动器的图像,没有灰色边框和缩放工具?
- python - PyQt5:我如何“收集”或“接收”发射的信号?
- android - 使用 Cryptography 模块时 Buildozer 失败
- graph - LightGraphs 中的子图 - Julia
- python - 如何使用列表列表调用 itertools.pruduct 函数
- mongodb - mongod:错误:子进程失败,以 100 退出
- html - 填满整个屏幕宽度的图像