ApacheIgnite给出非活动群集错误

ApacheIgnite给出非活动群集错误,ignite,Ignite,当下面的代码被粘贴到example-default.xml文件中时,我得到了上面的错误 class org.apache.ignite.internal.processors.query.IgniteSQLException: Unexpected DDL operation failure: Can not perform the operation because the cluster is inactive. Note, that the cluster is considered in

当下面的代码被粘贴到example-default.xml文件中时,我得到了上面的错误

class org.apache.ignite.internal.processors.query.IgniteSQLException: Unexpected DDL operation failure: Can not perform the operation because the cluster is inactive. Note, that the cluster is considered inactive by default if Ignite Persistent Store is used to let all the nodes join the cluster. To activate the cluster call Ignite.active(true).

您可以尝试运行

 <property name="dataStorageConfiguration">
       <bean class="org.apache.ignite.configuration.DataStorageConfiguration">
          <property name="defaultDataRegionConfiguration">
             <bean class="org.apache.ignite.configuration.DataRegionConfiguration">
                <property name="persistenceEnabled" value="true"/>
             </bean>
          </property>
       </bean>
    </property>

启动所有群集节点后,从命令行激活它。如果出现任何错误,请共享配置的发现部分。

我知道必须使用以下代码,但我希望apache ignite在我的应用程序之外启动(即通过命令提示符)`Ignition.setClientMode(true);Ignite objIgnite=Ignition.start(“F:\\apache-Ignite-fabric-2.0.0-bin\\config\\itc poc config.xml”);objIgnite。活动(真)
bin\control.bat——激活
激活过程中出现故障,异常消息:最新拓扑更新失败。按任意键继续。为了激活集群,我使用了上面的命令,它抛出了一个错误-在它之后,你是否尝试使用Ignite2.0?它有一个非常原始的持久性特性版本。你能在最新版本上尝试同样的操作吗?@Dennis-我使用的是ApacheIgnite2.3.0默认值是11211,也可以尝试11212。127.0.0.1:47500..47509我厌倦了u发送的命令,仍然给出“最新拓扑更新失败”@Pooja可能您已禁用客户端端点11211?可能您还有其他一些需要终止的Ignite实例正在运行?能否提供next./control.bat--主机127.0.0.1--端口11211--基线的输出?您在输出中看到任何节点了吗?如果否,则检查您没有同时联机具有不同版本的ignite节点。
bin\control.bat --host 127.0.0.1 --port 11211 --activate