From user-return-13735-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Sun Feb 20 01:11:18 2011 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 61960 invoked from network); 20 Feb 2011 01:11:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Feb 2011 01:11:18 -0000 Received: (qmail 51847 invoked by uid 500); 20 Feb 2011 01:11:16 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 51794 invoked by uid 500); 20 Feb 2011 01:11:15 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 51786 invoked by uid 99); 20 Feb 2011 01:11:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Feb 2011 01:11:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tokomakoma123@auone.jp designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Feb 2011 01:11:06 +0000 Received: by wwa36 with SMTP id 36so5000827wwa.25 for ; Sat, 19 Feb 2011 17:10:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.187.7 with SMTP id x7mr2015058wem.38.1298164245875; Sat, 19 Feb 2011 17:10:45 -0800 (PST) Received: by 10.216.0.211 with HTTP; Sat, 19 Feb 2011 17:10:45 -0800 (PST) X-Originating-IP: [180.17.34.67] Date: Sun, 20 Feb 2011 10:10:45 +0900 Message-ID: Subject: cassandra-cli does not work From: =?ISO-2022-JP?B?GyRCNjZLXEA/GyhC?= To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 resp= ond. $ ./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=3D'/var/lib/cassandra/commitlog/CommitLog-12981641243= 03.log', position=3D148) 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=3D'/var/lib/cassandra/commitlog/CommitLog-12981641243= 03.log', position=3D444) 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 operat= ions) 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=3D'/var/lib/cassandra/d= ata/system/LocationInfo-f-1-Data.db'),org.apache.cassandra.io.sstable.SSTab= leReader(path=3D'/var/lib/cassandra/data/system/LocationInfo-f-2-Data.db'),= org.apache.cassandra.io.sstable.SSTableReader(path=3D'/var/lib/cassandra/da= ta/system/LocationInfo-f-3-Data.db'),org.apache.cassandra.io.sstable.SSTabl= eReader(path=3D'/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