thanks a lot, it works now!

On Mon, Jul 6, 2009 at 5:41 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
Sorry, 277 is the right issue.  Just one patch.

Once it's applied it will be in svn trunk.

On Mon, Jul 6, 2009 at 7:35 PM, Kevin
Castiglione<kevincastiglione@gmail.com> wrote:
> thanks for this:
> http://issues.apache.org/jira/browse/CASSANDRA-272
>
> do i need to apply all 3 patches?
>
> or can you tell me which svn version i can use so that it is working?
> thanks again!
> On Mon, Jul 6, 2009 at 5:31 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
>>
>> This is a known problem in trunk.  It's fixed by the patch in issue
>> 272, which should be applied tonight or tomorrow.
>>
>> -Jonathan
>>
>> On Mon, Jul 6, 2009 at 7:27 PM, Kevin
>> Castiglione<kevincastiglione@gmail.com> wrote:
>> > hi
>> > i just got cassandra compiled.
>> > but the cli example from wiki is not working. the conf files are
>> > untouched.
>> > can you help me out here!
>> > thanks
>> >
>> > CLI output:
>> > ./cassandra-cli --host localhost --port 9160
>> > Connected to localhost/9160
>> > Welcome to cassandra CLI.
>> >
>> > Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.
>> > cassandra> set Table1.Standard1['jsmith']['first'] = 'John'
>> > Statement processed.
>> > cassandra> set Table1.Standard1['jsmith']['last'] = 'Smith'
>> > Statement processed.
>> > cassandra> set Table1.Standard1['jsmith']['age'] = '42'
>> > Statement processed.
>> > cassandra> get Table1.Standard1['jsmith']
>> > Error: CQL Execution Error
>> > cassandra>
>> >
>> >
>> >
>> >
>> >
>> > cassandra output
>> > sudo ./bin/cassandra -f
>> > Listening for transport dt_socket at address: 8888
>> > DEBUG - Loading settings from ./bin/../conf/storage-conf.xml
>> > DEBUG - adding Super1 as 0
>> > DEBUG - adding Standard2 as 1
>> > DEBUG - adding Standard1 as 2
>> > DEBUG - adding StandardByTime1 as 3
>> > DEBUG - adding LocationInfo as 4
>> > DEBUG - adding HintsColumnFamily as 5
>> > DEBUG - Starting to listen on 127.0.0.1:7001
>> > INFO - Cassandra starting up...
>> > DEBUG - Compiling CQL query ...
>> > DEBUG - AST: (A_SET (A_COLUMN_ACCESS Table1 Standard1 'jsmith' 'first')
>> > 'John')
>> > DEBUG - Executing CQL query ...
>> > DEBUG - locally writing writing key jsmith to 127.0.0.1:7000
>> > DEBUG - Compiling CQL query ...
>> > DEBUG - AST: (A_SET (A_COLUMN_ACCESS Table1 Standard1 'jsmith' 'last')
>> > 'Smith')
>> > DEBUG - Executing CQL query ...
>> > DEBUG - locally writing writing key jsmith to 127.0.0.1:7000
>> > DEBUG - Compiling CQL query ...
>> > DEBUG - AST: (A_SET (A_COLUMN_ACCESS Table1 Standard1 'jsmith' 'age')
>> > '42')
>> > DEBUG - Executing CQL query ...
>> > DEBUG - locally writing writing key jsmith to 127.0.0.1:7000
>> > DEBUG - Compiling CQL query ...
>> > DEBUG - AST: (A_GET (A_COLUMN_ACCESS Table1 Standard1 'jsmith'))
>> > DEBUG - Executing CQL query ...
>> > DEBUG - weakreadlocal reading SliceFromReadCommand(table='Table1',
>> > key='jsmith', columnFamily='Standard1', isAscending='true', limit='-1',
>> > count='2147483647')
>> > ERROR - Exception was generated at : 07/06/2009 17:21:30 on thread
>> > pool-1-thread-1
>> > 1
>> > java.lang.ArrayIndexOutOfBoundsException: 1
>> >         at org.apache.cassandra.db.Table.getSliceFrom(Table.java:612)
>> >         at
>> >
>> > org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:57)
>> >         at
>> >
>> > org.apache.cassandra.service.StorageProxy.weakReadLocal(StorageProxy.java:600)
>> >         at
>> >
>> > org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:303)
>> >         at
>> >
>> > org.apache.cassandra.cql.common.ColumnRangeQueryRSD.getRows(ColumnRangeQueryRSD.java:101)
>> >         at
>> > org.apache.cassandra.cql.common.QueryPlan.execute(QueryPlan.java:41)
>> >         at
>> >
>> > org.apache.cassandra.cql.driver.CqlDriver.executeQuery(CqlDriver.java:45)
>> >         at
>> >
>> > org.apache.cassandra.service.CassandraServer.executeQuery(CassandraServer.java:491)
>> >         at
>> >
>> > org.apache.cassandra.service.Cassandra$Processor$executeQuery.process(Cassandra.java:1323)
>> >         at
>> >
>> > org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:839)
>> >         at
>> >
>> > org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:252)
>> >         at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> >         at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> >         at java.lang.Thread.run(Thread.java:619)
>> >
>> >
>> >
>> >
>> >
>> >
>> > svn version : Revision: 791656
>> >
>> > java -version
>> > java version "1.6.0_14"
>> > Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
>> > Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
>> >
>> >
>> >
>> >
>
>