Search code examples
datastaxdatastax-enterprisedatastax-startupdatastax-enterprise-graphdatastax-php-driver

AbstractSolrSecondaryIndex.java:1884 - Cannot find core / Unable to start DSE server


I had added 3 single token nodes to our existing DataCenter as specified in datastax document : http://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsAddRplSingleTokenNodes.html

Currently all 3 new nodes are showing joining state.

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 

But we are getting following error in joining nodes.

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 Updated :

Node joining failed with following error :

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

Has anyone encountered these errors or warnings before?


Solution

  • Issue resolved : Increased load_max_time_per_core value in dse.yaml configuration file, still i was receving the error.Finalys solved the issue by following method

         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