Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 83226 invoked from network); 19 Jul 2009 17:42:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jul 2009 17:42:32 -0000 Received: (qmail 21469 invoked by uid 500); 19 Jul 2009 17:43:38 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 21402 invoked by uid 500); 19 Jul 2009 17:43:38 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 21393 invoked by uid 99); 19 Jul 2009 17:43:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jul 2009 17:43:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.greene@gmail.com designates 209.85.210.191 as permitted sender) Received: from [209.85.210.191] (HELO mail-yx0-f191.google.com) (209.85.210.191) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jul 2009 17:43:28 +0000 Received: by yxe29 with SMTP id 29so2867671yxe.32 for ; Sun, 19 Jul 2009 10:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=vPtyFdLB0XwWt3JaoLJcCknXmlaS0/G8lCGeedKMt20=; b=KDlQAxctPSvSIV8mu4ixKbS5O9kfGpybbe6hMmYp/mYqaRD1/WHakZjR/6Azx1PgsE 02EseHw4NHRK7kizbOURFG0pucfv8oH8t2vU4qlE+nxzgKChp6sNBbg9My9oCMD8uW3Q UAD10utoKXDKzmZ2eLyqyak3zg9jPbAcR946Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=sEqWW3dF2ZM4cMKUiqUwrtkrKhoVUUPxsYUHm+lbhQmGiBafMgoUH0ROB1cGfD5w4/ CiBzuGncFBlZxIgttoQ/gdBdXGQatjGDY243GwyGbIuN62gFxJk12Pbk+uYNGGLe8Am7 w7KQ73rI4s8uZ+xcaTz2+uHMtUMwgiK5aYw0Q= MIME-Version: 1.0 Received: by 10.100.138.10 with SMTP id l10mr5009488and.61.1248025387861; Sun, 19 Jul 2009 10:43:07 -0700 (PDT) In-Reply-To: References: Date: Sun, 19 Jul 2009 12:43:07 -0500 Message-ID: Subject: Re: how do we updgrade cassandra From: Michael Greene To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org If you run 'ant clean' before running ant or Cassandra, it will ensure that no old artifacts are still around from the code that could be causing problems. To dump the db, just delete the db directories. There should be tooling for this in the future, but that's the most surefire way to know that you are starting fresh for now. Michael On Sun, Jul 19, 2009 at 11:42 AM, wrote: > I did a git pull in the cassandra dir and ran ant hoping things would run > but cassandra does nt run > > DEBUG - insert > ERROR - Internal error processing insert > java.lang.NullPointerException > =A0=A0 =A0 =A0 =A0at > org.apache.cassandra.service.ThriftValidation.validateColumnPath(ThriftVa= lidation.java:61) > =A0=A0 =A0 =A0 =A0at > org.apache.cassandra.service.CassandraServer.insert(CassandraServer.java:= 262) > =A0=A0 =A0 =A0 =A0at > org.apache.cassandra.service.Cassandra$Processor$insert.process(Cassandra= .java:927) > =A0=A0 =A0 =A0 =A0at > org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:7= 96) > =A0=A0 =A0 =A0 =A0at > org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolS= erver.java:252) > =A0=A0 =A0 =A0 =A0at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java= :1110) > =A0=A0 =A0 =A0 =A0at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:603) > =A0=A0 =A0 =A0 =A0at java.lang.Thread.run(Thread.java:636) > > is there a specific way to upgrade cassandra ie dump the db and restore? > > thanks > >