AbstractSolrSecondaryIndex.java:1884 - 找不到核心/无法启动 DSE 服务器
AbstractSolrSecondaryIndex.java:1884 - Cannot find core / Unable to start DSE server
我已按照 datastax 文档中的规定向我们现有的数据中心添加了 3 个单令牌节点:http://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsAddRplSingleTokenNodes.html
目前3个新节点全部显示加入状态
Datacenter: SearchGraph
==========
Address Rack Status State Load Owns Token
10.10.1.46 rack1 Up Normal 381.13 MiB ? -9223372036854775808
10.10.2.66 rack2 Up Joining 277.94 MiB ? -6148914691236517206
10.10.1.36 rack1 Up Normal 414.47 MiB ? -3074457345618258603
10.10.2.76 rack2 Up Joining 251.52 MiB ? -2
10.10.1.56 rack1 Up Normal 409.32 MiB ? 3074457345618258602
10.10.2.86 rack2 Up Joining 332.89 MiB ? 6148914691236517202
但是我们在加入节点时遇到以下错误。
AbstractSolrSecondaryIndex.java:1884 - Cannot find core chat.chat_history
AbstractSolrSecondaryIndex.java:1884 - Cannot find core chat.history
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.business_units
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.feeds
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.feeds_2
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.knowledegmodule
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.userdetails
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.userdetails_2
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.vault_details
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.workgroup
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.feeds
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.knowledgemodule
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.organizations
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.userdetails
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.vaults
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.workgroup
Post 更新:
节点加入失败,出现以下错误:
ERROR [main] 2017-08-10 04:22:08,449 DseDaemon.java:488 - Unable to start DSE server.
com.datastax.bdp.plugin.PluginManager$PluginActivationException: Unable to activate plugin com.datastax.bdp.plugin.SolrContainerPlugin
Caused by: java.lang.IllegalStateException: Cannot find secondary index for core ekamsearch.userdetails_2, did you create it?
If yes, please consider increasing the value of the dse.yaml option load_max_time_per_core, current value in minutes is: 10
ERROR [main] 2017-08-10 04:22:08,450 CassandraDaemon.java:705 - Exception encountered during startup
java.lang.RuntimeException: com.datastax.bdp.plugin.PluginManager$PluginActivationException: Unable to activate plugin
有没有人遇到过这些错误或警告?
问题已解决:
在 dse.yaml 配置文件中增加了 load_max_time_per_core 值,我仍然收到 error.Finalys 解决了这个问题
通过以下方法
1) Started the new nodes as non-solr and wait for all cassandra data
to migrate to joining nodes.
2) Add the parameter auto_bootstrap: False directive to the
cassandra.yaml file
3) Re-start the same nodes after enabling solr. Changed parameter
SOLR_ENABLED=1 in /etc/default/dse
3) Re-index in all new joined nodes. I had to reloaded all core
required with the reindex=true and distributed=false parameters in
new joined nodes.
Ref : http://docs.datastax.com/en/archived/datastax_enterprise/4.0/datastax_enterprise/srch/srchReldCore.html
我已按照 datastax 文档中的规定向我们现有的数据中心添加了 3 个单令牌节点:http://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsAddRplSingleTokenNodes.html
目前3个新节点全部显示加入状态
Datacenter: SearchGraph
==========
Address Rack Status State Load Owns Token
10.10.1.46 rack1 Up Normal 381.13 MiB ? -9223372036854775808
10.10.2.66 rack2 Up Joining 277.94 MiB ? -6148914691236517206
10.10.1.36 rack1 Up Normal 414.47 MiB ? -3074457345618258603
10.10.2.76 rack2 Up Joining 251.52 MiB ? -2
10.10.1.56 rack1 Up Normal 409.32 MiB ? 3074457345618258602
10.10.2.86 rack2 Up Joining 332.89 MiB ? 6148914691236517202
但是我们在加入节点时遇到以下错误。
AbstractSolrSecondaryIndex.java:1884 - Cannot find core chat.chat_history
AbstractSolrSecondaryIndex.java:1884 - Cannot find core chat.history
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.business_units
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.feeds
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.feeds_2
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.knowledegmodule
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.userdetails
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.userdetails_2
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.vault_details
AbstractSolrSecondaryIndex.java:1884 - Cannot find core search.workgroup
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.feeds
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.knowledgemodule
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.organizations
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.userdetails
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.vaults
AbstractSolrSecondaryIndex.java:1884 - Cannot find core cloud.workgroup
Post 更新:
节点加入失败,出现以下错误:
ERROR [main] 2017-08-10 04:22:08,449 DseDaemon.java:488 - Unable to start DSE server.
com.datastax.bdp.plugin.PluginManager$PluginActivationException: Unable to activate plugin com.datastax.bdp.plugin.SolrContainerPlugin
Caused by: java.lang.IllegalStateException: Cannot find secondary index for core ekamsearch.userdetails_2, did you create it?
If yes, please consider increasing the value of the dse.yaml option load_max_time_per_core, current value in minutes is: 10
ERROR [main] 2017-08-10 04:22:08,450 CassandraDaemon.java:705 - Exception encountered during startup
java.lang.RuntimeException: com.datastax.bdp.plugin.PluginManager$PluginActivationException: Unable to activate plugin
有没有人遇到过这些错误或警告?
问题已解决: 在 dse.yaml 配置文件中增加了 load_max_time_per_core 值,我仍然收到 error.Finalys 解决了这个问题 通过以下方法
1) Started the new nodes as non-solr and wait for all cassandra data
to migrate to joining nodes.
2) Add the parameter auto_bootstrap: False directive to the
cassandra.yaml file
3) Re-start the same nodes after enabling solr. Changed parameter
SOLR_ENABLED=1 in /etc/default/dse
3) Re-index in all new joined nodes. I had to reloaded all core
required with the reindex=true and distributed=false parameters in
new joined nodes.
Ref : http://docs.datastax.com/en/archived/datastax_enterprise/4.0/datastax_enterprise/srch/srchReldCore.html