Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 99459 invoked from network); 26 Nov 2010 11:20:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Nov 2010 11:20:23 -0000 Received: (qmail 91302 invoked by uid 500); 26 Nov 2010 11:20:21 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 91209 invoked by uid 500); 26 Nov 2010 11:20:21 -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 91201 invoked by uid 99); 26 Nov 2010 11:20:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 11:20:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jasonmpell@gmail.com designates 209.85.161.172 as permitted sender) Received: from [209.85.161.172] (HELO mail-gx0-f172.google.com) (209.85.161.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 11:20:13 +0000 Received: by gxk28 with SMTP id 28so389491gxk.31 for ; Fri, 26 Nov 2010 03:19:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=B1RdBXuridHJG65ldSXUgX/5tJn6vIt+6hi1PASg2qs=; b=l2t1tJr4IAshoqiucgF+Z9CWWjqZjCP0KULeobR+kRFNHvOxwL1uWSOlLp6dWya8ce hEJzizLdXdLBo138zapT4Pl9bwmDlgr0LNKKTwG1bNx542Em+qrE9ptSMYX5pCDELEKt a8Gb4FQIzMp2k2nkLfsiIwwSXBC1s8ChnEwSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=LYeSUNTRX9alaG5M93XdO2pReEIhIsm1yuMMqYtRpn02VcjW3UIJUycwD0Pt1XPuHD Jieu5TZeKrvqvav9srUgjofnTFYpodFkr8goeLrHJU5KtxfpnQruRfI+0yrbxY+4i5Ip HAI4wari21YQFmCile1hD9IYb+qZedP1j/grU= MIME-Version: 1.0 Received: by 10.151.102.9 with SMTP id e9mr4869229ybm.173.1290770391732; Fri, 26 Nov 2010 03:19:51 -0800 (PST) Sender: jasonmpell@gmail.com Received: by 10.151.109.5 with HTTP; Fri, 26 Nov 2010 03:19:51 -0800 (PST) In-Reply-To: <1290770246.1975.3.camel@mierdi-laptop> References: <1290767666.1975.2.camel@mierdi-laptop> <1290770246.1975.3.camel@mierdi-laptop> Date: Fri, 26 Nov 2010 22:19:51 +1100 X-Google-Sender-Auth: aX2iX4fbLwrJKvHodXzsFrgZPDg Message-ID: Subject: Re: Cassandra 0.7.0rc1 issue with command-cli From: Jason Pell 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 Its makes it far simpler to enter queries though. No more all on the one line - which I kind of assume is why the change was made. All in all after the initial keyboard bashing, I am happy :-) 2010/11/26 H=E9ctor Izquierdo Seliva : > Yes, I know what you mean. I bashed my head a few times against the > keyboard :) > > El vie, 26-11-2010 a las 21:37 +1100, Jason Pell escribi=F3: >> It works perfectly, thanks so much, I was finding it a little frustratin= g. >> >> On Fri, Nov 26, 2010 at 9:36 PM, Jason Pell wrote: >> > no way - well I certainly feel stupid! =A0Is this new, it worked witho= ut >> > it on beta 3? >> > >> > 2010/11/26 H=E9ctor Izquierdo Seliva : >> >> Try ending the lines with ; >> >> >> >> Regards >> >> >> >> El vie, 26-11-2010 a las 21:25 +1100, jasonmpell@gmail.com escribi=F3= : >> >>> 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 >> >>> >> >>> =A0INFO 21:23:41,750 Heap size: 1060569088/1061617664 >> >>> =A0INFO 21:23:41,755 JNA not found. Native methods will be disabled. >> >>> =A0INFO 21:23:41,767 Loading settings from >> >>> file:/opt/apache-cassandra-0.7.0-rc1/conf/cassandra.yaml >> >>> =A0INFO 21:23:41,942 DiskAccessMode 'auto' determined to be standard= , >> >>> indexAccessMode is standard >> >>> =A0INFO 21:23:42,055 Creating new commitlog segment >> >>> /var/lib/cassandra/commitlog/CommitLog-1290767022055.log >> >>> =A0INFO 21:23:42,129 read 0 from saved key cache >> >>> =A0INFO 21:23:42,132 read 0 from saved key cache >> >>> =A0INFO 21:23:42,138 read 0 from saved key cache >> >>> =A0INFO 21:23:42,142 read 0 from saved key cache >> >>> =A0INFO 21:23:42,143 read 0 from saved key cache >> >>> =A0INFO 21:23:42,147 loading row cache for LocationInfo of system >> >>> =A0INFO 21:23:42,164 completed loading (16 ms; 0 keys) =A0row cache = for >> >>> LocationInfo of system >> >>> =A0INFO 21:23:42,164 loading row cache for HintsColumnFamily of syst= em >> >>> =A0INFO 21:23:42,165 completed loading (1 ms; 0 keys) =A0row cache f= or >> >>> HintsColumnFamily of system >> >>> =A0INFO 21:23:42,165 loading row cache for Migrations of system >> >>> =A0INFO 21:23:42,166 completed loading (1 ms; 0 keys) =A0row cache f= or >> >>> Migrations of system >> >>> =A0INFO 21:23:42,168 loading row cache for Schema of system >> >>> =A0INFO 21:23:42,168 completed loading (0 ms; 0 keys) =A0row cache f= or >> >>> Schema of system >> >>> =A0INFO 21:23:42,168 loading row cache for IndexInfo of system >> >>> =A0INFO 21:23:42,169 completed loading (1 ms; 0 keys) =A0row cache f= or >> >>> IndexInfo of system >> >>> =A0INFO 21:23:42,257 Couldn't detect any schema definitions in local= storage. >> >>> =A0INFO 21:23:42,258 Found table data in data directories. Consider >> >>> using JMX to call >> >>> org.apache.cassandra.service.StorageService.loadSchemaFromYaml(). >> >>> =A0INFO 21:23:42,260 No commitlog files found; skipping replay >> >>> =A0INFO 21:23:42,301 Upgrading to 0.7. Purging hints if there are an= y. >> >>> Old hints will be snapshotted. >> >>> =A0INFO 21:23:42,306 Cassandra version: 0.7.0-rc1 >> >>> =A0INFO 21:23:42,306 Thrift API version: 19.4.0 >> >>> =A0INFO 21:23:42,320 Loading persisted ring state >> >>> =A0INFO 21:23:42,338 Starting up server gossip >> >>> =A0INFO 21:23:42,365 switching in a fresh Memtable for LocationInfo = at >> >>> CommitLogContext(file=3D'/var/lib/cassandra/commitlog/CommitLog-1290= 767022055.log', >> >>> position=3D700) >> >>> =A0INFO 21:23:42,367 Enqueuing flush of >> >>> Memtable-LocationInfo@14361585(227 bytes, 4 operations) >> >>> =A0INFO 21:23:42,367 Writing Memtable-LocationInfo@14361585(227 byte= s, 4 >> >>> operations) >> >>> =A0INFO 21:23:42,796 Completed flushing >> >>> /var/lib/cassandra/data/system/LocationInfo-e-1-Data.db (473 bytes) >> >>> =A0WARN 21:23:42,861 Generated random token >> >>> 124937963426514930245885291999748186719. Random tokens will result i= n >> >>> an unbalanced ring; see http://wiki.apache.org/cassandra/Operations >> >>> =A0INFO 21:23:42,863 switching in a fresh Memtable for LocationInfo = at >> >>> CommitLogContext(file=3D'/var/lib/cassandra/commitlog/CommitLog-1290= 767022055.log', >> >>> position=3D996) >> >>> =A0INFO 21:23:42,863 Enqueuing flush of >> >>> Memtable-LocationInfo@17243268(53 bytes, 2 operations) >> >>> =A0INFO 21:23:42,864 Writing Memtable-LocationInfo@17243268(53 bytes= , 2 >> >>> operations) >> >>> =A0INFO 21:23:43,277 Completed flushing >> >>> /var/lib/cassandra/data/system/LocationInfo-e-2-Data.db (301 bytes) >> >>> =A0INFO 21:23:43,282 Will not load MX4J, mx4j-tools.jar is not in th= e classpath >> >>> =A0INFO 21:23:43,347 Binding thrift service to localhost/127.0.0.1:9= 160 >> >>> =A0INFO 21:23:43,350 Using TFramedTransport with a max frame size of >> >>> 15728640 bytes. >> >>> =A0INFO 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? >> >> >> >> >> >> >> > > > >