java - Not able to start TitanGraph with Cassandra in embedded mode -


i using in java project; able start ad work titangraph using berkeleydb in memory db. because of licensing, started apachec cassandra. working in standalone mode. trying run in emebedded mode throwing error

      configuration conf = new baseconfiguration();     //conf.setproperty("storage.backend","cassandra");     //conf.setproperty("storage.hostname","127.0.0.1");-->works     conf.setproperty("storage.backend","embeddedcassandra");     conf.setproperty("storage.cassandra-config-dir","file://d:/program_files/apache-cassandra-2.0.8/conf/cassandra.yaml");     //conf.setproperty("storage.setup-time",100);//currenlty bug run cassendra emndedded ??     conf.setproperty("ids.block-size",1000000);     //conf.setproperty("storage.batch-loading",true);     conf.setproperty("storage.buffer-size",1024);     conf.setproperty("autotype","none");     graph = titanfactory.open(conf); 

error coming

cannot locate ./conf/cassandra.yaml 

fatal configuration error; unable start. see log stacktrace.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -