Re: NullPointerException from IndexSummary.complete on boot

2010-09-30 Thread Jonathan Ellis
aha, there was a bug in the cleanup for the System keyspace. patched: https://issues.apache.org/jira/browse/CASSANDRA-1564 On Thu, Sep 30, 2010 at 9:54 PM, Jonathan Ellis wrote: > they are cleaned out on every start, yes.  this is logged. > > On Thu, Sep 30, 2010 at 9:51 PM, Aaron Morton wrote:

Re: NullPointerException from IndexSummary.complete on boot

2010-09-30 Thread Jonathan Ellis
they are cleaned out on every start, yes. this is logged. On Thu, Sep 30, 2010 at 9:51 PM, Aaron Morton wrote: > No in my app. Only the default one in Keyspace1 which would not have been in > use. > > Out of interest, are these the same tmp files generated during (minor) > compaction? Would they

Re: NullPointerException from IndexSummary.complete on boot

2010-09-30 Thread Aaron Morton
No in my app. Only the default one in Keyspace1 which would not have been in use. Out of interest, are these the same tmp files generated during (minor) compaction? Would they have been left over from a clumsy dev shutting down the process during compaction? Looking at the timestamps on the files t

Re: NullPointerException from IndexSummary.complete on boot

2010-09-30 Thread Jonathan Ellis
tmp files should be fine. do you have 2ary indexes defined? On Thu, Sep 30, 2010 at 9:23 PM, Aaron Morton wrote: > Yes, these were the tmp files in the system directory. > -rw-r--r-- 1 root        root    0 2010-09-01 11:19 > HintsColumnFamily-tmp-e-81-Index.db > -rw-r--r-- 1 root        root  

Re: NullPointerException from IndexSummary.complete on boot

2010-09-30 Thread Aaron Morton
Yes, these were the tmp files in the system directory.-rw-r--r-- 1 root        root    0 2010-09-01 11:19 HintsColumnFamily-tmp-e-81-Index.db-rw-r--r-- 1 root        root    0 2010-09-01 11:20 HintsColumnFamily-tmp-e-82-Index.db-rw-r--r-- 1 root        root    0 2010-09-01 11:20 HintsColumnFamily-t

Re: NullPointerException from IndexSummary.complete on boot

2010-09-30 Thread Jonathan Ellis
Do you have a zero-byte sstable somewhere? On Thu, Sep 30, 2010 at 5:34 PM, Aaron Morton wrote: > The last line in the log before the error was > INFO [main] 2010-10-01 11:18:06,654 SSTableReader.java (line 162) Sampling > index for > /local1/junkbox/cassandra/data/system/HintsColumnFamily-tmp-e-

Re: NullPointerException from IndexSummary.complete on boot

2010-09-30 Thread Aaron Morton
The last line in the log before the error was INFO [main] 2010-10-01 11:18:06,654 SSTableReader.java (line 162) Sampling index for /local1/junkbox/cassandra/data/system/HintsColumnFamily-tmp-e-87-<>There were several tmp files for the HintColumnFamily there. I moved them and it started. I did run a

NullPointerException from IndexSummary.complete on boot

2010-09-30 Thread Aaron Morton
Am upgrading from the 0.7.0 nightly build for 31/08 to the beta 2. I've deleted the Schema* CF's in the system Keyspace and when I start the new install I get this...java.lang.NullPointerException        at org.apache.cassandra.io.sstable.IndexSummary.complete(IndexSummary.java:60)        at org.ap