Cassandra data files are located at /var/lib/cassandra/data ( http://cassandra.apache.org/doc/latest/configuration/cassandra_config_file.html#data-file-directories )
Can you double check that the Cassandra process has write access to this directory? There should be a number of SSTable files in the directory if Cassandra has written the data to disk. When you start Cassandra the system log will also show each SSTable being loaded. It could be possible that something is stopping the memtables from being flushed to disk or being read by Cassandra. On Tue, 27 Feb 2018 at 17:37 A <htt...@yahoo.com.invalid> wrote: > Hey there. Thanks for your response. > > Yes. I absolutely inserted the data correctly and queried it many times > through cqlsh> as well as through node.js. > > I started going through the logs and haven't noticed anything yet... Very > unexpected behavior. > > Thanks. > A > > > Sent from Yahoo Mail for iPad <https://yho.com/footer0> > > > On Monday, February 26, 2018, 9:23 PM, @Nandan@ < > nandanpriyadarshi...@gmail.com> wrote: > > Hi A, > As I am able to understand your question :- > 1) You inserted some data into your table and that was inserted > successfully. > 2) Then you stop the cassandra servie. > 3) After few days you started your service and you checked your Table and > there were no data. > Did you cross verified once you inserted data that , data is inserted > correctly or not. and Did you check system.log file , In case you got some > message there. > Please cross check once. > > On Tue, Feb 27, 2018 at 1:16 PM, A <htt...@yahoo.com.invalid> wrote: > > I'm new to Cassandra. Trying it out to see if it will work for my > upcoming project. I created a test keyspace and table on my dev laptop. > Loaded it with some data on a Friday and closed her down. Returned on > Monday and looked up the data and it was gone. The keyspace and table was > there, but table was empty. This has happened twice so far. > > Help... > > Thanks, > Angel > > > -- *Justin Cameron*Senior Software Engineer <https://www.instaclustr.com/> This email has been sent on behalf of Instaclustr Pty. Limited (Australia) and Instaclustr Inc (USA). This email and any attachments may contain confidential and legally privileged information. If you are not the intended recipient, do not copy or disclose its content, but please reply to this email immediately and highlight the error to the sender and then immediately delete the message.