It works perfectly, thanks so much, I was finding it a little frustrating.
On Fri, Nov 26, 2010 at 9:36 PM, Jason Pell <ja...@pellcorp.com> wrote: > no way - well I certainly feel stupid! Is this new, it worked without > it on beta 3? > > 2010/11/26 Héctor Izquierdo Seliva <izquie...@strands.com>: >> Try ending the lines with ; >> >> Regards >> >> El vie, 26-11-2010 a las 21:25 +1100, jasonmp...@gmail.com escribió: >>> 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 >>> [devel...@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-locationi...@14361585(227 bytes, 4 operations) >>> INFO 21:23:42,367 Writing memtable-locationi...@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-locationi...@17243268(53 bytes, 2 operations) >>> INFO 21:23:42,864 Writing memtable-locationi...@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: >>> >>> [devel...@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. >>> [defa...@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? >> >> >> >