当我使用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作为其Uploader。因此,我将本地文件/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那么,当我使用Heron0.17.5版本时,我应该如何在Client.yaml中配置heron-core url呢?详细地说,我测试了没有配置heron-core url的Heron集群,它不工作。你可以看到Heron版本在0.17.5中的变化是#2684。
谢谢你的回答。
发布于 2018-09-07 07:57:30
“我发现本地/heron/dist目录中没有core-core.tar.gz文件。”你是说"heron-core.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目录中。
https://stackoverflow.com/questions/52201047
复制相似问题