Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E306996FD for ; Fri, 10 Feb 2012 18:23:23 +0000 (UTC) Received: (qmail 81321 invoked by uid 500); 10 Feb 2012 18:23:21 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 81227 invoked by uid 500); 10 Feb 2012 18:23:20 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 81219 invoked by uid 99); 10 Feb 2012 18:23:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 18:23:19 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 72.35.23.39 is neither permitted nor denied by domain of todd@conga.com) Received: from [72.35.23.39] (HELO smtp-out2.electric.net) (72.35.23.39) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 18:23:11 +0000 Received: from 1Rvv7S-0001Zq-Ux by bean.electric.net with emc1-ok (Exim 4.76) (envelope-from ) id 1Rvv7S-0001aM-VJ for user@cassandra.apache.org; Fri, 10 Feb 2012 10:22:50 -0800 Received: by emcmailer; Fri, 10 Feb 2012 10:22:50 -0800 Received: from [10.86.5.46] (helo=fuse246.electric.net) by bean.electric.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rvv7S-0001Zq-Ux for user@cassandra.apache.org; Fri, 10 Feb 2012 10:22:50 -0800 Received: from mailanyone.net by fuse246.electric.net with esmtpsa (TLSv1:AES256-SHA:256) (MailAnyone extSMTP toddfast) id 1Rvv7R-0004kq-PM for user@cassandra.apache.org; Fri, 10 Feb 2012 10:22:50 -0800 Message-ID: <4F356076.2050103@conga.com> Date: Fri, 10 Feb 2012 10:22:46 -0800 From: Todd Fast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Cassandra Users Subject: Keyspace missing on restart Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Outbound-IP: 10.86.5.46 X-Env-From: todd@conga.com X-PolicySMART: 1225731 X-Virus-Status: Scanned by VirusSMART (c) X-Virus-Checked: Checked by ClamAV on apache.org My single-node cluster was working fine yesterday. I ctrl+c'd it last night, as I typically do, and restarted it this morning. Now, inexplicably, it doesn't know anything about my keyspace. The SS table files are in the same directory as always and seem to be the expected size. I can't seem to do anything with nodetool, since the keyspace isn't known. 1. How can I recover the node? 2. What the heck happened that caused this? Here is the console log (I'm on Windows 7): Starting Cassandra Server INFO 09:33:41,803 Logging initialized INFO 09:33:41,809 JVM vendor/version: Java HotSpot(TM) Client VM/1.6.0_17 INFO 09:33:41,809 Heap size: 1065484288/1065484288 INFO 09:33:41,810 Classpath: ... INFO 09:33:41,815 JNA not found. Native methods will be disabled. INFO 09:33:41,826 Loading settings from file:/D:/Java/apache-cassandra-1.0.7/conf/cassandra.yaml INFO 09:33:41,930 DiskAccessMode 'auto' determined to be standard, indexAccessMode is standard INFO 09:33:41,939 Global memtable threshold is enabled at 338MB INFO 09:33:42,232 Opening \Data\cassandra\node1\system\LocationInfo-hc-1 (234 bytes) INFO 09:33:42,232 Opening \Data\cassandra\node1\system\LocationInfo-hc-2 (163 bytes) INFO 09:33:42,287 Couldn't detect any schema definitions in local storage. INFO 09:33:42,288 Found table data in data directories. Consider using the CLI to define your schema. INFO 09:33:42,307 Creating new commitlog segment /Data/cassandra/node1/commitlog\CommitLog-1328895222306.log INFO 09:33:42,316 Replaying \Data\cassandra\node1\commitlog\CommitLog-1328894913967.log INFO 09:33:42,356 Finished reading \Data\cassandra\node1\commitlog\CommitLog-1328894913967.log INFO 09:33:42,362 Enqueuing flush of Memtable-Versions@22744620(83/103 serialized/live bytes, 3 ops) INFO 09:33:42,364 Writing Memtable-Versions@22744620(83/103 serialized/live bytes, 3 ops) INFO 09:33:42,399 Completed flushing \Data\cassandra\node1\system\Versions-hc-1-Data.db (247 bytes) INFO 09:33:42,410 Log replay complete, 3 replayed mutations INFO 09:33:42,415 Cassandra version: 1.0.7 INFO 09:33:42,416 Thrift API version: 19.20.0 INFO 09:33:42,416 Loading persisted ring state INFO 09:33:42,420 Starting up server gossip INFO 09:33:42,429 Enqueuing flush of Memtable-LocationInfo@18721294(29/36 serialized/live bytes, 1 ops) INFO 09:33:42,430 Writing Memtable-LocationInfo@18721294(29/36 serialized/live bytes, 1 ops) INFO 09:33:42,450 Completed flushing \Data\cassandra\node1\system\LocationInfo-hc-3-Data.db (80 bytes) INFO 09:33:42,459 Starting Messaging Service on port 7000 INFO 09:33:42,469 Using saved token 133677729504783243750441433892785690257 INFO 09:33:42,471 Enqueuing flush of Memtable-LocationInfo@15427560(53/66 serialized/live bytes, 2 ops) INFO 09:33:42,471 Writing Memtable-LocationInfo@15427560(53/66 serialized/live bytes, 2 ops) INFO 09:33:42,490 Completed flushing \Data\cassandra\node1\system\LocationInfo-hc-4-Data.db (163 bytes) INFO 09:33:42,494 Node localhost/127.0.0.1 state jump to normal INFO 09:33:42,511 Bootstrap/Replace/Move completed! Now serving reads. INFO 09:33:42,512 Will not load MX4J, mx4j-tools.jar is not in the classpath INFO 09:33:42,523 Compacting [SSTableReader(path='\Data\cassandra\node1\system\LocationInfo-hc-4-Data.db'), SSTableReader(path='\Data\cassandra\node1\system\LocationInfo-hc-2-Data.db'), SSTableReader(path='\Data\cassandra\node1\system\Loca tionInfo-hc-3-Data.db'), SSTableReader(path='\Data\cassandra\node1\system\LocationInfo-hc-1-Data.db')] INFO 09:33:42,567 Binding thrift service to localhost/127.0.0.1:9160 INFO 09:33:42,571 Using TFastFramedTransport with a max frame size of 15728640 bytes. INFO 09:33:42,576 Using synchronous/threadpool thrift server on localhost/127.0.0.1 : 9160 INFO 09:33:42,577 Listening for thrift clients... Todd