Added http://wiki.apache.org/cassandra/Embedding to explain this.
On Mon, Dec 21, 2009 at 12:32 PM, Jonathan Ellis <[email protected]> wrote: > that is necessary but not sufficient. look at what > CassandraDaemon.setup does; in particularly you need to call > Table.onStart and RecoveryManager.doRecovery. > > On Mon, Dec 21, 2009 at 11:42 AM, Jiri Jakes <[email protected]> wrote: >> Hello all! >> >> Please, would you explain to me, what is StorageService's initServer() >> method's purpose? Is it possible to run Cassandra on a single node this >> way? If I call initServer() in my program, everything seems to work >> (the directories and files are created and I can insert some data) but >> then, after running the program again, I cannot get the data back >> (though they are saved on the disk, they are accesible via thrift) -- >> nothing is returned. >> >> Thank you. >> >> Jiri >> >
