Thanks Sameer.
Just for the record I skip "ant" step and the I got this error:

"The stack size specified is too small, Specify at least 228k"

Then I changed the -Xss180k => -Xss228k in conf/cassandra-env.sh and the node started (or at least It seems to me [1]).

Thanks,
M
[1] output of "bin/cassandra -f"

[root@dataserving-vm apache-cassandra-0.7.3]# ./bin/cassandra -f
 INFO 11:55:00,144 Logging initialized
 INFO 11:55:00,160 Heap size: 7884242944/7885291520
 INFO 11:55:00,162 JNA not found. Native methods will be disabled.
INFO 11:55:00,172 Loading settings from file:/root/sw/apache-cassandra-0.7.3/conf/cassandra.yaml INFO 11:55:00,333 DiskAccessMode 'auto' determined to be mmap, indexAccessMode INFO 11:55:00,498 Creating new commitlog segment /var/lib/cassandra/commitlog/C
 INFO 11:55:00,510 Couldn't detect any schema definitions in local storage.
INFO 11:55:00,511 Found table data in data directories. Consider using JMX to c
 INFO 11:55:00,525 No commitlog files found; skipping replay
INFO 11:55:00,546 Upgrading to 0.7. Purging hints if there are any. Old hints w
 INFO 11:55:00,550 Cassandra version: 0.7.3
 INFO 11:55:00,550 Thrift API version: 19.4.0
 INFO 11:55:00,551 Loading persisted ring state
 INFO 11:55:00,553 Starting up server gossip
INFO 11:55:00,561 switching in a fresh Memtable for LocationInfo at CommitLogCo INFO 11:55:00,562 Enqueuing flush of Memtable-LocationInfo@480975116(227 bytes, INFO 11:55:00,565 Writing Memtable-LocationInfo@480975116(227 bytes, 4 operatio INFO 11:55:00,626 Completed flushing /var/lib/cassandra/data/system/LocationInf WARN 11:55:00,698 Generated random token 43446331345653940051712025784871000274 INFO 11:55:00,699 switching in a fresh Memtable for LocationInfo at CommitLogCo INFO 11:55:00,699 Enqueuing flush of Memtable-LocationInfo@1222389110(53 bytes, INFO 11:55:00,700 Writing Memtable-LocationInfo@1222389110(53 bytes, 2 operatio INFO 11:55:00,732 Completed flushing /var/lib/cassandra/data/system/LocationInf INFO 11:55:00,736 Will not load MX4J, mx4j-tools.jar is not in the classpath
 INFO 11:55:00,772 Binding thrift service to localhost/127.0.0.1:9160
INFO 11:55:00,775 Using TFastFramedTransport with a max frame size of 15728640
 INFO 11:55:00,780 Listening for thrift clients...



On 11/19/2013 12:11 AM, Sameer Gupta wrote:
Hi Massimo,
I think you do not need to run ant command for installing Cassandra. It worked for me if I skip "ant" while installation of Cassandra. Also I have updated the documentation to install Data Serving for my own use. I am not sure if everything is correct in the documentation but atleast it works for me.

Thanks,
Sameer


Reply via email to