I've setup a single node running elassandra-6.8.4.5, the status of the "cluster" is green, and I can see data via cqlsh (selects, desc keyspaces, etc) But there are *no* shards -- I don't mean there are unallocated shards, I mean the shard count is 0. I can connect to port 9200 and query (_cat, _cluster, etc) and I've ensured that the cassandra process is running with '-e' (though it didn't matter if that was there or not) So I'm at a loss why I have no shards, and can't create indices. Looking at elastic_admin.metadata, I can see the indices for all the keyspaces - so I'd assume once I have shards, I'll be able to use the indices (even if I have to rebuild them) and perform other tasks.
I did copy data/* and elasticsearch.data/* from another cluster (also single node) to seed this new node. Any help/suggestions greatly appreciated.
_cluster/health
{
"cluster_name" : "mycluster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}
_cluster/state
{
"cluster_name" : "mycluster",
"cluster_uuid" : "8001ab07-31f5-4a78-a940-861243aa739a",
"version" : 3,
"state_uuid" : "uCL3UEWwTI65OCVzXoCdeQ",
"master_node" : "py2tdBUKQAS5htt1lm2XGw",
"blocks" : { },
"nodes" : {
"py2tdBUKQAS5htt1lm2XGw" : {
"name" : "10.24.88.21",
"status" : "ALIVE",
"ephemeral_id" : "py2tdBUKQAS5htt1lm2XGw",
"transport_address" : "
10.24.88.21:9300",
"attributes" : {
"rack" : "b",
"dc" : "Lab"
}
}
},
"metadata" : {
"version" : 0,
"cluster_uuid" : "8001ab07-31f5-4a78-a940-861243aa739a",
"templates" : { },
"indices" : { },
"index-graveyard" : {
"tombstones" : [ ]
}
},
"routing_table" : {
"indices" : { }
},
"routing_nodes" : {
"unassigned" : [ ],
"nodes" : {
"py2tdBUKQAS5htt1lm2XGw" : [ ]
}
},
"restore" : {
"snapshots" : [ ]
},
"snapshot_deletions" : {
"snapshot_deletions" : [ ]
},
"snapshots" : {
"snapshots" : [ ]
}
}
_cat/nodes
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
10.24.88.21 4 96 67 0.22 0.97 0.89 mdi * 10.24.88.21
_cat/allocation
shards disk.indices disk.used disk.avail disk.total disk.percent host ip node
0 0b 42.8gb 57.1gb 99.9gb 42 10.24.88.21 10.24.88.21 10.24.88.21
_cat/shards
index shard prirep state docs store ip node
_cat/nodeattrs
node host ip attr value
10.24.88.21 10.24.88.21 10.24.88.21 rack b
10.24.88.21 10.24.88.21 10.24.88.21 dc Lab