Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 76805 invoked from network); 26 Nov 2010 10:25:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Nov 2010 10:25:50 -0000 Received: (qmail 20393 invoked by uid 500); 26 Nov 2010 10:25:48 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 20213 invoked by uid 500); 26 Nov 2010 10:25:48 -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 20204 invoked by uid 99); 26 Nov 2010 10:25:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 10:25:47 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jasonmpell@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-yx0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 10:25:41 +0000 Received: by yxk30 with SMTP id 30so950165yxk.31 for ; Fri, 26 Nov 2010 02:25:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=TLsgv6meeN7Fanwdc/iNFScvfyqaSpoaqpFDihoflyU=; b=izgEOGA+A8tKCmPx7/KNi0SyLj7l+Mvzt28nN2AkxDRLxWHQcFcPmrCVDEKw+X1YWa 8S5TffmSQuP9UjZga3jCrFYPJwccYWNdR9+NKS6hYNZQixmFpPVAfz2yORLCmcJrIMJ0 /64akAOreknCwFNNZPhCrZfOf9E5a02VyhPUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UgFZHzMNZjXMAHGOBeMJpw9p36Tre/Q4tAwrCrJySf5rSCe0fDyYgDXc44CmJWG9Lh UFAkB13jHABt2jz5RiuSxN1sHLKfVQIv/IecxOSbIoTDw8cNutQHY5B5SjWNsCks4ufj 5110RuKmI/X3+9QoQvV7qRiNq554EU6Ognfao= MIME-Version: 1.0 Received: by 10.151.111.3 with SMTP id o3mr4740525ybm.230.1290767119208; Fri, 26 Nov 2010 02:25:19 -0800 (PST) Received: by 10.151.109.5 with HTTP; Fri, 26 Nov 2010 02:25:19 -0800 (PST) Date: Fri, 26 Nov 2010 21:25:19 +1100 Message-ID: Subject: Re: Cassandra 0.7.0rc1 issue with command-cli From: jasonmpell@gmail.com To: "user@cassandra.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Hi, So I had this working perfectly with beta 3 and now it fails. Basically what I do is follows: 1) Extract new rc1 tarball. 2) Prepare location based on instructions in Readme.txt: sudo rm -r /var/log/cassandra sudo rm -r /var/lib/cassandra sudo mkdir -p /var/log/cassandra sudo chown -R `whoami` /var/log/cassandra sudo mkdir -p /var/lib/cassandra sudo chown -R `whoami` /var/lib/cassandra 3) Then run cassandra [developr@localhost apache-cassandra-0.7.0-rc1]$ bin/cassandra -f INFO 21:23:41,750 Heap size: 1060569088/1061617664 INFO 21:23:41,755 JNA not found. Native methods will be disabled. INFO 21:23:41,767 Loading settings from file:/opt/apache-cassandra-0.7.0-rc1/conf/cassandra.yaml INFO 21:23:41,942 DiskAccessMode 'auto' determined to be standard, indexAccessMode is standard INFO 21:23:42,055 Creating new commitlog segment /var/lib/cassandra/commitlog/CommitLog-1290767022055.log INFO 21:23:42,129 read 0 from saved key cache INFO 21:23:42,132 read 0 from saved key cache INFO 21:23:42,138 read 0 from saved key cache INFO 21:23:42,142 read 0 from saved key cache INFO 21:23:42,143 read 0 from saved key cache INFO 21:23:42,147 loading row cache for LocationInfo of system INFO 21:23:42,164 completed loading (16 ms; 0 keys) row cache for LocationInfo of system INFO 21:23:42,164 loading row cache for HintsColumnFamily of system INFO 21:23:42,165 completed loading (1 ms; 0 keys) row cache for HintsColumnFamily of system INFO 21:23:42,165 loading row cache for Migrations of system INFO 21:23:42,166 completed loading (1 ms; 0 keys) row cache for Migrations of system INFO 21:23:42,168 loading row cache for Schema of system INFO 21:23:42,168 completed loading (0 ms; 0 keys) row cache for Schema of system INFO 21:23:42,168 loading row cache for IndexInfo of system INFO 21:23:42,169 completed loading (1 ms; 0 keys) row cache for IndexInfo of system INFO 21:23:42,257 Couldn't detect any schema definitions in local storage. INFO 21:23:42,258 Found table data in data directories. Consider using JMX to call org.apache.cassandra.service.StorageService.loadSchemaFromYaml(). INFO 21:23:42,260 No commitlog files found; skipping replay INFO 21:23:42,301 Upgrading to 0.7. Purging hints if there are any. Old hints will be snapshotted. INFO 21:23:42,306 Cassandra version: 0.7.0-rc1 INFO 21:23:42,306 Thrift API version: 19.4.0 INFO 21:23:42,320 Loading persisted ring state INFO 21:23:42,338 Starting up server gossip INFO 21:23:42,365 switching in a fresh Memtable for LocationInfo at CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1290767022055.log', position=700) INFO 21:23:42,367 Enqueuing flush of Memtable-LocationInfo@14361585(227 bytes, 4 operations) INFO 21:23:42,367 Writing Memtable-LocationInfo@14361585(227 bytes, 4 operations) INFO 21:23:42,796 Completed flushing /var/lib/cassandra/data/system/LocationInfo-e-1-Data.db (473 bytes) WARN 21:23:42,861 Generated random token 124937963426514930245885291999748186719. Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations INFO 21:23:42,863 switching in a fresh Memtable for LocationInfo at CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1290767022055.log', position=996) INFO 21:23:42,863 Enqueuing flush of Memtable-LocationInfo@17243268(53 bytes, 2 operations) INFO 21:23:42,864 Writing Memtable-LocationInfo@17243268(53 bytes, 2 operations) INFO 21:23:43,277 Completed flushing /var/lib/cassandra/data/system/LocationInfo-e-2-Data.db (301 bytes) INFO 21:23:43,282 Will not load MX4J, mx4j-tools.jar is not in the classpath INFO 21:23:43,347 Binding thrift service to localhost/127.0.0.1:9160 INFO 21:23:43,350 Using TFramedTransport with a max frame size of 15728640 bytes. INFO 21:23:43,353 Listening for thrift clients... 4) start the command line client: [developr@localhost apache-cassandra-0.7.0-rc1]$ bin/cassandra-cli Welcome to cassandra CLI. Type 'help' or '?' for help. Type 'quit' or 'exit' to quit. [default@unknown] connect localhost/9160 And as soon as I try and use the connect localhost/9160 it stalls I did this EXACT same procedure with beta3 and no issues. I am running on centos 5.5 with java 6 Any ideas?