Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "RunningCassandraInEclipse" page has been changed by RogerSchildmeijer. http://wiki.apache.org/cassandra/RunningCassandraInEclipse?action=diff&rev1=4&rev2=5 -------------------------------------------------- {{attachment:AddToBuildPath-9.png}} - The final step is to add the generate Java code to the Eclipse build path. Expand and select interface/thrift/gen-java, right click -> "Build Path" -> "Use as Source Folder". Do the same for interface/avro/gen-java and src/gen-java. + The final step is to add the generated Java code to the Eclipse build path. Expand and select interface/thrift/gen-java, right click -> "Build Path" -> "Use as Source Folder". Do the same for interface/avro/gen-java and src/gen-java. {{attachment:AddThriftToBuildPath-10.png}} Now the errors should be gone and you are ready to create a run/debug configuration for cassandra. - Click "Run" -> "Run Configurations...". Select org.apache.cassandra.thrift.CassandraDaemon as you Main class, make sure that your cassandra project is select in the "Project" field. + Click "Run" -> "Run Configurations...". Select org.apache.cassandra.thrift.CassandraDaemon as you Main class, make sure that your cassandra project is selected in the "Project" field. Under the Arguments tab you can specify VM arguments. Below is my complete Vm arguments list: {{{ @@ -67, +67 @@ That should be it. After running the newly created run configuration you should see something like this in the console view. + {{{ DEBUG 22:01:25,524 Estimating compactions for HintsColumnFamily DEBUG 22:01:25,524 Estimating compactions for Migrations DEBUG 22:01:25,525 Estimating compactions for Schema @@ -79, +80 @@ INFO 22:01:25,568 Starting up server gossip DEBUG 22:01:25,597 attempting to connect to /127.0.0.1 INFO 22:01:25,691 Binding thrift service to localhost/127.0.0.1:9160 - + }}} Try running the cassandra-cli as per CassandraCli, and you should be able to connect to localhost/9160. - -