they are cleaned out on every start, yes. this is logged. On Thu, Sep 30, 2010 at 9:51 PM, Aaron Morton <[email protected]> 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 have been left over from a clumsy dev shutting down > the process during compaction? > Looking at the timestamps on the files they have been hanging around for a > while. They are probably from an earlier install. Is there any value in > testing for and removing them on startup? > Cheers > Aaron > On 01 Oct, 2010,at 03:33 PM, Jonathan Ellis <[email protected]> wrote: > > tmp files should be fine. > > do you have 2ary indexes defined? > > On Thu, Sep 30, 2010 at 9:23 PM, Aaron Morton <[email protected]> > 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 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-tmp-e-82-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 11:30 >> HintsColumnFamily-tmp-e-84-Index.db >> -rw-r--r-- 1 root root 66k 2010-09-01 11:30 >> HintsColumnFamily-tmp-e-84-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 11:30 >> HintsColumnFamily-tmp-e-85-Index.db >> -rw-r--r-- 1 root root 0 2010-09-01 11:30 >> HintsColumnFamily-tmp-e-85-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 11:42 >> HintsColumnFamily-tmp-e-87-Index.db >> -rw-r--r-- 1 root root 66k 2010-09-01 11:42 >> HintsColumnFamily-tmp-e-87-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 11:42 >> HintsColumnFamily-tmp-e-88-Index.db >> -rw-r--r-- 1 root root 0 2010-09-01 11:42 >> HintsColumnFamily-tmp-e-88-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 13:07 >> HintsColumnFamily-tmp-e-90-Index.db >> -rw-r--r-- 1 root root 66k 2010-09-01 13:07 >> HintsColumnFamily-tmp-e-90-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 13:07 >> HintsColumnFamily-tmp-e-91-Index.db >> -rw-r--r-- 1 root root 66k 2010-09-01 13:07 >> HintsColumnFamily-tmp-e-91-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 14:58 >> HintsColumnFamily-tmp-e-93-Index.db >> -rw-r--r-- 1 root root 66k 2010-09-01 14:58 >> HintsColumnFamily-tmp-e-93-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 14:58 >> HintsColumnFamily-tmp-e-94-Index.db >> -rw-r--r-- 1 root root 66k 2010-09-01 14:58 >> HintsColumnFamily-tmp-e-94-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 15:05 >> HintsColumnFamily-tmp-e-96-Index.db >> -rw-r--r-- 1 root root 66k 2010-09-01 15:06 >> HintsColumnFamily-tmp-e-96-Data.db >> -rw-r--r-- 1 root root 0 2010-09-01 15:06 >> HintsColumnFamily-tmp-e-97-Index.db >> -rw-r--r-- 1 root root 66k 2010-09-01 15:06 >> HintsColumnFamily-tmp-e-97-Data.db >> -rw-r--r-- 1 root root 0 2010-09-03 12:05 >> HintsColumnFamily-tmp-e-98-Index.db >> -rw-r--r-- 1 root root 66k 2010-09-03 12:05 >> HintsColumnFamily-tmp-e-98-Data.db >> >> Once I moved them out of the system dir the server would start. In the end >> I >> blew away the entire system dir (see other emails today). >> Thanks >> Aaron >> On 01 Oct, 2010,at 02:26 PM, Jonathan Ellis <[email protected]> wrote: >> >> Do you have a zero-byte sstable somewhere? >> >> On Thu, Sep 30, 2010 at 5:34 PM, Aaron Morton <[email protected]> >> 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-87-<> >>> There were several tmp files for the HintColumnFamily there. I moved them >>> and it started. >>> I did run a nodetool drain before killing the node >>> Aaron >>> >>> >>> On 01 Oct, 2010,at 11:14 AM, Aaron Morton <[email protected]> >>> wrote: >>> >>> 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.iosstable.IndexSummary.complete(IndexSummary.java:60) >>> at >>> >>> org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:270) >>> at >>> org.apache.cassandra.io.sstable.SSTableReaderopen(SSTableReader.java:173) >>> at >>> >>> >>> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:157) >>> at >>> >>> >>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:334) >>> at >>> >>> >>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:322) >>> at org.apache.cassandra.db.Table.initCf(Table.java:301) >>> at org.apache.cassandra.db.Table.<init>(Table.java:249) >>> at org.apache.cassandra.db.Table.open(Table.java:102) >>> at >>> org.apache.cassandra.db.SystemTable.checkHealth(SystemTablejava:142) >>> at >>> >>> >>> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:99) >>> at >>> org.apache.cassandra.thriftCassandraDaemon.setup(CassandraDaemon.java:54) >>> at >>> >>> >>> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:201) >>> at >>> orgapache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:133) >>> >>> Any thoughts ? >>> Aaron >>> >> >> >> >> -- >> Jonathan Ellis >> Project Chair, Apache Cassandra >> co-founder of Riptano, the source for professional Cassandra support >> http://riptano.com >> > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of Riptano, the source for professional Cassandra support > http://riptano.com >
-- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com
