I have three solr nodes in the same rack. In OpsCenter when I click actions/view replication on any of the nodes the result is RF=NaN for each of them. RF is set to 2 for the keyspace and column family (solr) in question. As I am quite new to cassandra and datastax I am not sure if replication is actually working properly although it seems to be: after indexing about 13M documents in a round-robin fashion over all nodes, all nodes give approximately the same count for a *:* query through the admin interface and searching on one node also gives logging output on one other node.
View replication shows RF=NaN
(4 posts) (2 voices)-
Posted 7 months ago #
-
fredespi,
This is most likely just a bug in the OpsCenter display. A few questions to help us reproduce the issue:
1) What version of OpsCenter are you on.
2) What is the output of running 'show schema <keyspace>;' in the cassandra-cli for your specific keyspace?
3) Are there any obvious errors in the opscenterd.log file?-Nick
Posted 7 months ago # -
Hi, and thanks for your answer:
opscenter is at v2.1.2.
There aren't any obvious errors in the log.
Here is the output of show schema (I had to cut the solrconfig and schema or it would not post):
create keyspace collectors with placement_strategy = 'NetworkTopologyStrategy' and strategy_options = {DC1 : 2} and durable_writes = true; use collectors; create column family solr with column_type = 'Standard' and comparator = 'UTF8Type' and default_validation_class = 'UTF8Type' and key_validation_class = 'UTF8Type' and rows_cached = 0.0 and row_cache_save_period = 0 and row_cache_keys_to_save = 2147483647 and keys_cached = 200000.0 and key_cache_save_period = 14400 and read_repair_chance = 1.0 and gc_grace = 864000 and min_compaction_threshold = 4 and max_compaction_threshold = 32 and replicate_on_write = true and row_cache_provider = 'SerializingCacheProvider' and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy' and column_metadata = [ {column_name : '_docBoost', validation_class : UTF8Type, index_name : 'collectors_solr__docBoost_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}, {column_name : '_dynFld', validation_class : UTF8Type, index_name : 'collectors_solr__dynFld_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}, {column_name : 'created', validation_class : UTF8Type, index_name : 'collectors_solr_created_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}, {column_name : 'language', validation_class : UTF8Type, index_name : 'collectors_solr_language_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}, {column_name : 'rawText', validation_class : UTF8Type, index_name : 'collectors_solr_rawText_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}, {column_name : 'solr_query', validation_class : UTF8Type, index_name : 'collectors_solr_solr_query_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}, {column_name : 'source', validation_class : UTF8Type, index_name : 'collectors_solr_source_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}, {column_name : 'text', validation_class : UTF8Type, index_name : 'collectors_solr_text_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}, {column_name : 'timestamp', validation_class : UTF8Type, index_name : 'collectors_solr_timestamp_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}, {column_name : 'uuid', validation_class : UTF8Type, index_name : 'collectors_solr_uuid_index', index_type : 1, index_options : { 'class_name' : 'com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex'}}];Posted 7 months ago # -
fredespi,
Sorry, your original posts were being caught by our spam filter.
Regarding your problem, I'm able to reproduce the error you are seeing. It is just an issue with displaying the RF correctly. We should have it fixed in the next release. In the meantime the 'View Replication' feature should still work correctly I believe, it will just not display the RF correctly.
Thanks for the bug report!
-Nick
Posted 7 months ago #
Reply
You must log in to post.
