【问题标题】:Do we need to specify catalogs.properties file same in both presto coordinator and worker?我们是否需要在 presto coordinator 和 worker 中指定相同的 catalogs.properties 文件?
【发布时间】:2019-05-22 16:47:01
【问题描述】:

嗯,我有两个 docker 容器,一个是 Presto coordinator,一个是 Presto Worker。它工作正常,但我需要在 coordinator 和 worker 中指定相同的 catalogs.properties 文件

虽然我的 presto worker 不需要知道我的 catalogs.properties 文件,但他们可以从 master 本身获取详细信息 但如果我没有指定,那么我的 presto 启动器会失败

有什么办法可以阻止 master 和 slave 中 catalogs.properties 文件的重复性

【问题讨论】:

    标签: presto


    【解决方案1】:

    不,目前您需要在每台机器上配置目录。

    注意:在典型的生产设置中,会有一些自动化为您执行此操作,因此不会增加手动工作。

    【讨论】:

      【解决方案2】:

      你可能会看到这个,它有关于如何自动确保所有工作人员具有相同目录文件的 presto 配置。请注意,这只是其中一项功能 https://github.com/niths4u/prestodb-cluster/

      【讨论】:

        猜你喜欢
        • 2012-06-12
        • 1970-01-01
        • 2019-05-05
        • 1970-01-01
        • 2023-03-28
        • 2018-12-01
        • 2021-10-17
        • 1970-01-01
        • 2017-06-29
        相关资源
        最近更新 更多