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).
将以下行代码粘贴到example-default.xml文件中时,出现上述错误。
<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>
答案 0 :(得分:0)
您可以尝试运行
bin\control.bat --host 127.0.0.1 --port 11211 --activate
启动所有群集节点以从命令行激活它后,。如果出现任何错误,请共享配置的发现部分。