incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <janne.jalka...@ecyrd.com>
Subject Re: 1.0.3 CLI oddities
Date Wed, 14 Dec 2011 19:54:56 GMT

Correct. 1.0.6 fixes this for me.

/Janne

On 12 Dec 2011, at 02:57, Chris Burroughs wrote:

> Sounds like https://issues.apache.org/jira/browse/CASSANDRA-3558 and the
> other tickets reference there.
> 
> On 11/28/2011 05:05 AM, Janne Jalkanen wrote:
>> Hi!
>> 
>> (Asked this on IRC too, but didn't get anyone to respond, so here goes...)
>> 
>> Is it just me, or are these real bugs? 
>> 
>> On 1.0.3, from CLI: "update column family XXX with gc_grace = 36000;" just says "null"
with nothing logged.  Previous value is the default.
>> 
>> Also, on 1.0.3, "update column family XXX with compression_options={sstable_compression:SnappyCompressor,chunk_length_kb:64};"
returns "Internal error processing system_update_column_family" and log says "Invalid negative
or null chunk_length_kb" (stack trace below)
>> 
>> Setting the compression options worked on 1.0.0 when I was testing (though my 64
kB became 64 MB, but I believe this was fixed in 1.0.3.)
>> 
>> Did the syntax change between 1.0.0 and 1.0.3? Or am I doing something wrong? 
>> 
>> The database was upgraded from 0.6.13 to 1.0.0, then scrubbed, then compression options
set to some CFs, then upgraded to 1.0.3 and trying to set compression on other CFs.
>> 
>> Stack trace:
>> 
>> ERROR [pool-2-thread-68] 2011-11-28 09:59:26,434 Cassandra.java (line 4038) Internal
error processing system_update_column_family
>> java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.io.IOException:
org.apache.cassandra.config.ConfigurationException: Invalid negative or null chunk_length_kb
>> 	at org.apache.cassandra.thrift.CassandraServer.applyMigrationOnStage(CassandraServer.java:898)
>> 	at org.apache.cassandra.thrift.CassandraServer.system_update_column_family(CassandraServer.java:1089)
>> 	at org.apache.cassandra.thrift.Cassandra$Processor$system_update_column_family.process(Cassandra.java:4032)
>> 	at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889)
>> 	at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)
>> 	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:680)
>> Caused by: java.util.concurrent.ExecutionException: java.io.IOException: org.apache.cassandra.config.ConfigurationException:
Invalid negative or null chunk_length_kb
>> 	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>> 	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>> 	at org.apache.cassandra.thrift.CassandraServer.applyMigrationOnStage(CassandraServer.java:890)
>> 	... 7 more
>> Caused by: java.io.IOException: org.apache.cassandra.config.ConfigurationException:
Invalid negative or null chunk_length_kb
>> 	at org.apache.cassandra.db.migration.UpdateColumnFamily.applyModels(UpdateColumnFamily.java:78)
>> 	at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
>> 	at org.apache.cassandra.thrift.CassandraServer$2.call(CassandraServer.java:883)
>> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> 	... 3 more
>> Caused by: org.apache.cassandra.config.ConfigurationException: Invalid negative or
null chunk_length_kb
>> 	at org.apache.cassandra.io.compress.CompressionParameters.validateChunkLength(CompressionParameters.java:167)
>> 	at org.apache.cassandra.io.compress.CompressionParameters.create(CompressionParameters.java:52)
>> 	at org.apache.cassandra.config.CFMetaData.apply(CFMetaData.java:796)
>> 	at org.apache.cassandra.db.migration.UpdateColumnFamily.applyModels(UpdateColumnFamily.java:74)
>> 	... 7 more
>> ERROR [MigrationStage:1] 2011-11-28 09:59:26,434 AbstractCassandraDaemon.java (line
133) Fatal exception in thread Thread[MigrationStage:1,5,main]
>> java.io.IOException: org.apache.cassandra.config.ConfigurationException: Invalid
negative or null chunk_length_kb
>> 	at org.apache.cassandra.db.migration.UpdateColumnFamily.applyModels(UpdateColumnFamily.java:78)
>> 	at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
>> 	at org.apache.cassandra.thrift.CassandraServer$2.call(CassandraServer.java:883)
>> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> 	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:680)
>> Caused by: org.apache.cassandra.config.ConfigurationException: Invalid negative or
null chunk_length_kb
>> 	at org.apache.cassandra.io.compress.CompressionParameters.validateChunkLength(CompressionParameters.java:167)
>> 	at org.apache.cassandra.io.compress.CompressionParameters.create(CompressionParameters.java:52)
>> 	at org.apache.cassandra.config.CFMetaData.apply(CFMetaData.java:796)
>> 	at org.apache.cassandra.db.migration.UpdateColumnFamily.applyModels(UpdateColumnFamily.java:74)
>> 	... 7 more
>> 
>> 
>> /Janne


Mime
View raw message