How many nodes do you have setup for the course? If you have more than one, you would need to run nodetool flush on all nodes. Depending on your RF, the data may not live on the node that you are running your commands from.
@amit82ocp_172818 as @@brasco --Donnie Roberson-- indicated, you won't necessarily have SSTables if the node you flushed is not a replica of the data you inserted. Say you had a 3-node cluster and a keyspace with a replication factor of 3. In this configuration, all 3 nodes would be replicas so flushing on any node will have SSTables written to disk.
If you had a 3-node cluster but the keyspace only has a replication factor of 1, you would need to run nodetool getendpoints
to determine the owner of the partition and run a flush on that node to see SSTables on disk. Cheers!
Hello @Erick Ramirez, thanks for answer on this.
I have find the endpoints of keyspace and able to get the sstables on disk.
Thanks for your help on this.
Regards,
Amit
Hello @Erick Ramirez, thanks for answer on this.
I have find the endpoints of keyspace and able to get the sstables on disk.
Thanks for your help on this.
Regards,
Amit
@amit82ocp_172818 Just a friendly note that you need to comment instead of "writing an answer" so other users don't confuse this as an answer in the future. Please edit and re-post. Cheers!
5 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use