【问题标题】:Ignite. active(true)? [closed]点燃。活跃(真)? [关闭]
【发布时间】:2021-04-14 10:09:31
【问题描述】:

当我尝试创建 apache ignite 键值记录时,出现错误(Can not perform the operation because the cluster is inactive. 注意,如果使用 Ignite Persistent Store 让所有节点加入集群。要激活集群调用 Ignite.active(true).) 工作,我使用 golang 和库 github.com/amsokol/ignite-go-client/binary/v1。因为我只是在学习如何使用 apache ignite,所以我真的不明白应该在哪里启用 Ignite。活跃(真)?

【问题讨论】:

    标签: cluster-computing ignite


    【解决方案1】:

    使用control.sh 脚本:

    ./control.sh --activate
    

    你只需要激活一次集群,所以一般情况下放在代码里不是一个好主意。

    the documentation 中的更多信息。

    【讨论】:

    • 谢谢你一切顺利
    猜你喜欢
    • 2012-06-12
    • 2018-04-30
    • 2021-09-27
    • 2012-11-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-10
    相关资源
    最近更新 更多