代码之家  ›  专栏  ›  技术社区  ›  Yitian Zhang

如何在heron0.17.5版本中配置heron核心文件?

  •  1
  • Yitian Zhang  · 技术社区  · 7 年前

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

    # 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
    

    在这个配置中,我部署了heron0.17.1版本,HDFS作为它的上传程序。所以我复制了本地文件/heron/dist/heron-核心.tar.gz文件到hdfs://heron/磁盘在HDFS中,它起了作用。
    但是,当我将Heron的版本从0.17.1更新到0.17.5时,我发现没有Heron-核心.tar.gz本地/heron/dist目录中的文件。但它仍然需要配置苍鹭-核心.tar.gz中的url客户端.yaml:

    # 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核心url呢客户端.yaml当我使用Heron 0.17.5版本时?详细地说,我测试了没有配置Heron核心url的Heron集群,但它不起作用。您可以看到Heron版本在0.17.5中的变化是 #2684 .
    谢谢你的回答。

    推荐文章