Hello
I am trying to run cassandra v0.7.2 on ubuntu 10.04.
Cassandra works but in cassandra-cli any command such as help does not respond.


$ ./cassandra -f
 INFO 10:08:43,618 Logging initialized
 INFO 10:08:43,634 Heap size: 1534066688/1535115264
 INFO 10:08:43,648 JNA not found. Native methods will be disabled.
 INFO 10:08:43,707 Loading settings from
file:/usr/local/oss/apache-cassandra-0.7.2-src/conf/cassandra.yaml
 INFO 10:08:43,894 DiskAccessMode 'auto' determined to be standard,
indexAccessMode is standard
 INFO 10:08:44,303 Creating new commitlog segment
/var/lib/cassandra/commitlog/CommitLog-1298164124303.log
 INFO 10:08:44,625 Opening /var/lib/cassandra/data/system/LocationInfo-f-2
 INFO 10:08:44,672 Opening /var/lib/cassandra/data/system/LocationInfo-f-1
 INFO 10:08:44,978 Couldn't detect any schema definitions in local storage.
 INFO 10:08:44,980 Found table data in data directories. Consider
using JMX to call
org.apache.cassandra.service.StorageService.loadSchemaFromYaml().
 INFO 10:08:45,018 Replaying
/var/lib/cassandra/commitlog/CommitLog-1298162826152.log
 INFO 10:08:45,018 Finished reading
/var/lib/cassandra/commitlog/CommitLog-1298162826152.log
 INFO 10:08:45,019 Log replay complete
 INFO 10:08:45,090 Cassandra version: 0.7.2-SNAPSHOT
 INFO 10:08:45,090 Thrift API version: 19.4.0
 INFO 10:08:45,091 Loading persisted ring state
 INFO 10:08:45,136 Starting up server gossip
 INFO 10:08:45,190 switching in a fresh Memtable for LocationInfo at
CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1298164124303.log',
position=148)
 INFO 10:08:45,192 Enqueuing flush of
Memtable-LocationInfo@31534957(29 bytes, 1 operations)
 INFO 10:08:45,204 Writing Memtable-LocationInfo@31534957(29 bytes, 1
operations)
 INFO 10:08:45,517 Completed flushing
/var/lib/cassandra/data/system/LocationInfo-f-3-Data.db (80 bytes)
 INFO 10:08:45,716 Using saved token 73812104570163764651168719252319949926
 INFO 10:08:45,718 switching in a fresh Memtable for LocationInfo at
CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1298164124303.log',
position=444)
 INFO 10:08:45,719 Enqueuing flush of Memtable-LocationInfo@5057266(53
bytes, 2 operations)
 INFO 10:08:45,720 Writing Memtable-LocationInfo@5057266(53 bytes, 2 operations)
 INFO 10:08:45,928 Completed flushing
/var/lib/cassandra/data/system/LocationInfo-f-4-Data.db (163 bytes)
 INFO 10:08:45,931 Compacting
[org.apache.cassandra.io.sstable.SSTableReader(path='/var/lib/cassandra/data/system/LocationInfo-f-1-Data.db'),org.apache.cassandra.io.sstable.SSTableReader(path='/var/lib/cassandra/data/system/LocationInfo-f-2-Data.db'),org.apache.cassandra.io.sstable.SSTableReader(path='/var/lib/cassandra/data/system/LocationInfo-f-3-Data.db'),org.apache.cassandra.io.sstable.SSTableReader(path='/var/lib/cassandra/data/system/LocationInfo-f-4-Data.db')]
HttpAdaptor version 3.0.2 started on port 8081
 INFO 10:08:46,339 mx4j successfuly loaded
 INFO 10:08:46,370 Compacted to
/var/lib/cassandra/data/system/LocationInfo-tmp-f-5-Data.db.  741 to
447 (~60% of original) bytes for 3 keys.  Time: 436ms.
 INFO 10:08:46,547 Binding thrift service to localhost/127.0.0.1:9160
 INFO 10:08:46,552 Using TFastFramedTransport with a max frame size of
15728640 bytes.
 INFO 10:08:46,581 Listening for thrift clients...

$ ./cassandra-cli --host localhost
Connected to: "Test Cluster" on localhost/9160
Welcome to cassandra CLI.

Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit.
[default@unknown] help

How I solve this problem ?

Thanks,
MH

Reply via email to