incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: exceptions after upgrading from 1.0.7 to 1.0.9
Date Tue, 17 Apr 2012 09:15:25 GMT
> 1. No cql is installed now. Do I need to download and install separately?
If you have just unzipped the bin distrobution nothing will be installed, it will only be
in the unzipped file locations. cqlsh is in the bin/ directory. 

As well as the datastax packages there are Debian packages from Apache, see http://cassandra.apache.org/download/

> 2. Cassandra won't start, I got the following exception below.


This message
>  INFO [RMI TCP Connection(2)-127.0.0.1] 2012-04-16 00:25:37,980 StorageService.java (line
667) DRAINED
Says that the sever was drained via the JMX / Node Tool interface. The RejectedExecutionError
that followed are a result of the server shutting down. 

> 3. While at it, does someone know if  Hector 1.0.3 supports Cassandra 1.0.9?

It should do, cassandra 1.0.9 is compatible with previous 1.0.X releases. 

Cheers


-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 16/04/2012, at 7:54 PM, Tamar Fraenkel wrote:

> Hi!
> I had datastax 1.0.7 installed on ubuntu.
> I downloaded http://off.co.il/apache/cassandra/1.0.9/apache-cassandra-1.0.9-bin.tar.gz
and unzipped it. I left both versions installed, but changed my service script to start the
1.0.9.
> Two problems:
> 
> 1. No cql is installed now. Do I need to download and install separately?
> 2. Cassandra won't start, I got the following exception below.
> 3. While at it, does someone know if  Hector 1.0.3 supports Cassandra 1.0.9?
> 
> Thanks,
> Tamar
> 
>  INFO [FlushWriter:2] 2012-04-16 00:25:37,879 Memtable.java (line 283) Completed flushing
/var/lib/cassandra/data/OpsCenter/events_timeline-hc-28-Data.db (79 bytes)
>  INFO [RMI TCP Connection(2)-127.0.0.1] 2012-04-16 00:25:37,980 StorageService.java (line
667) DRAINED
> ERROR [CompactionExecutor:3] 2012-04-16 00:25:38,021 AbstractCassandraDaemon.java (line
139) Fatal exception in thread Thread[CompactionExecutor:3,1,RMI Runtime]
> java.util.concurrent.RejectedExecutionException
>         at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)
>         at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
>         at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:215)
>         at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:397)
>         at java.util.concurrent.ScheduledThreadPoolExecutor.submit(ScheduledThreadPoolExecutor.java:470)
>         at org.apache.cassandra.io.sstable.SSTableDeletingTask.schedule(SSTableDeletingTask.java:67)
>         at org.apache.cassandra.io.sstable.SSTableReader.releaseReference(SSTableReader.java:742)
>         at org.apache.cassandra.db.DataTracker.removeOldSSTablesSize(DataTracker.java:316)
>         at org.apache.cassandra.db.DataTracker.replace(DataTracker.java:287)
>         at org.apache.cassandra.db.DataTracker.replaceCompactedSSTables(DataTracker.java:233)
>         at org.apache.cassandra.db.ColumnFamilyStore.replaceCompactedSSTables(ColumnFamilyStore.java:1006)
>         at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:200)
>         at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:134)
>         at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:114)
>         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:662)
>  INFO [CompactionExecutor:3] 2012-04-16 00:25:38,025 CompactionTask.java (line 113) Compacting
[SSTableReader(path='/var/lib/cassandra/data/OpsCenter/events_timeline-hc-25-Data.db'), SSTableReader(path='/var/lib/cassandra/data/OpsCenter/events_timeline-hc-27-Data.db'),
SSTableReader(path='/var/lib/cassandra/data/OpsCenter/events_timeline-hc-28-Data.db'), SSTableReader(path='/var/lib/cassandra/data/OpsCenter/events_timeline-hc-26-Data.db')]
> ERROR [CompactionExecutor:3] 2012-04-16 00:25:38,051 AbstractCassandraDaemon.java (line
139) Fatal exception in thread Thread[CompactionExecutor:3,1,RMI Runtime]
> java.util.concurrent.RejectedExecutionException
>         at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)
>         at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
>         at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:215)
>         at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:397)
>         at java.util.concurrent.ScheduledThreadPoolExecutor.submit(ScheduledThreadPoolExecutor.java:470)
>         at org.apache.cassandra.io.sstable.SSTableDeletingTask.schedule(SSTableDeletingTask.java:67)
>         at org.apache.cassandra.io.sstable.SSTableReader.releaseReference(SSTableReader.java:742)
>         at org.apache.cassandra.db.DataTracker.removeOldSSTablesSize(DataTracker.java:316)
>         at org.apache.cassandra.db.DataTracker.replace(DataTracker.java:287)
>         at org.apache.cassandra.db.DataTracker.replaceCompactedSSTables(DataTracker.java:233)
>         at org.apache.cassandra.db.ColumnFamilyStore.replaceCompactedSSTables(ColumnFamilyStore.java:1006)
>         at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:200)
>         at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:134)
>         at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:114)
>         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:662)
>  INFO [main] 2012-04-16 00:34:28,557 AbstractCassandraDaemon.java (line 289) Cassandra
shutting down...
> 
> 
> Tamar Fraenkel 
> Senior Software Engineer, TOK Media 
> 
> <tokLogo.png>
> 
> tamar@tok-media.com
> Tel:   +972 2 6409736 
> Mob:  +972 54 8356490 
> Fax:   +972 2 5612956 
> 
> 
> 


Mime
View raw message