You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Muntasir Raihan Rahman <mu...@gmail.com> on 2013/10/10 19:13:20 UTC

Help with cassandra code changes

Hello,

I am new to cassandra development. I am trying to make some changes to the
cassandra code base to do some research experiments. Here is what I tried:

(1) I cloned the latest code rep, version 2.0.0. I made some simple code
changes (e.g. added some log messages).
(2) I compiled the changed code with ant.
(3) The code change works when I run it locally using eclipse, I can see
the log messages i added.
(4) For running it on a cluster (e.g an emulab cluster), I copied
apache-cassandra-thrift-2.0.0.jar, apache-cassandra-clientutil-2.0.0.jar,
and apache-cassandra-2.0.0.jar from my local cassandra repo with code
changes to the lib folder in my emulab cassandra folder.

With this, I can start cassandra, but for some reason logging isn't enabled
and I get an error when creating a schema:

"create keyspace usertable1 with placement_strategy =
'org.apache.cassandra.locator.SimpleStrategy' and strategy_options =
{replication_factor:3};
0a8b3f6b-0e56-3468-8333-087f257d122f
[default@unknown] use usertable1;
org.apache.thrift.TApplicationException: Internal error processing
execute_cql3_query
"
Any suggestions?

Muntasir.

-- 
Best Regards
Muntasir Raihan Rahman
Email: muntasir.raihan@gmail.com
Department of Computer Science,
University of Illinois Urbana Champaign,
3111 Siebel Center,
201 N. Goodwin Avenue,
Urbana, IL  61801