Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 37075 invoked from network); 18 Apr 2010 08:41:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Apr 2010 08:41:16 -0000 Received: (qmail 16864 invoked by uid 500); 18 Apr 2010 08:41:16 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 16724 invoked by uid 500); 18 Apr 2010 08:41:14 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 16716 invoked by uid 99); 18 Apr 2010 08:41:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Apr 2010 08:41:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of schildmeijer@gmail.com designates 209.85.219.225 as permitted sender) Received: from [209.85.219.225] (HELO mail-ew0-f225.google.com) (209.85.219.225) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Apr 2010 08:41:08 +0000 Received: by ewy25 with SMTP id 25so1304772ewy.27 for ; Sun, 18 Apr 2010 01:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=UBDYeGDjoPVPE5dcp/oScSk4yu86SbqNSLfunkVE5QA=; b=RyZu9kGUz3rVcXXLLKxvAo5XkiYD4MIZW0qsPwZkILOGJyKyjK25qj2nmc7EqJWYwF amd3BVUJIZ9dMoL3u4yJ1vegXW6/TIXKFPg3RSZEy2xFU+yeAeaCSLuRZkTMx0yfIq1B M3bcYS95gSg/qn4pG847ZZ35xeZbDs04K7cY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=dFxa0JRgOWe5Sg11D9aO7ZCXAPSzEccXCLFKknMUnwMbIxflq89gwxpGlhTKvvRht5 hlIt2VzAt/NSybnzPC9DdmdBy2g2RIbdBv45myDdSJLxFo3Pm2NivvPMuOhzVHyXQ5D1 A5+w/Gm8RPRxRGZyJnBso9cFE4Mcyp9rUCvVg= Received: by 10.213.59.77 with SMTP id k13mr1602707ebh.38.1271580047210; Sun, 18 Apr 2010 01:40:47 -0700 (PDT) Received: from [192.168.1.36] (90-229-249-227-no34.tbcn.telia.com [90.229.249.227]) by mx.google.com with ESMTPS id 16sm2903254ewy.11.2010.04.18.01.40.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 18 Apr 2010 01:40:46 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: need help regarding Cassandra Setup in eclipse From: Roger Schildmeijer In-Reply-To: Date: Sun, 18 Apr 2010 10:40:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87zl13zc1e.fsf@lifelogs.com> To: dev@cassandra.apache.org X-Mailer: Apple Mail (2.1078) On 18 apr 2010, at 09.53fm, j p wrote: > I am a newbie in this domain so please can u describe the required = steps. 1, start jconsole (or some other JMX client, = http://java-source.net/open-source/jmx) 2, connect to your running CassandraDeamon 3, navigate to the MBeans tab 4, expand org.apache.cassandra.service.StorageService -> Operations 5, last in the operation list you'll find "loadSchemaFromXML", invoke = that method // Roger Schildmeijer >=20 > thanks in advance. >=20 > BR > jp >=20 >=20 > On Sun, Apr 18, 2010 at 2:56 AM, Jonathan Ellis = wrote: >=20 >> http://wiki.apache.org/cassandra/LiveSchemaUpdates >>=20 >> On Sat, Apr 17, 2010 at 4:51 PM, bilal ahmed = >> wrote: >>> gr8 its configured and up....but it does't load schema definitions = giving >>> following warning >>> * >>> * >>> * "Couldn't detect any schema definitions in local storage. I hope = you've >>> got a plan."* >>> * >>> * >>> BR >>> jp >>>=20 >>>=20 >>> * >>> * >>> * * >>> * >>> * >>> * >>> * >>> On Sun, Apr 18, 2010 at 2:31 AM, Roger Schildmeijer >>> wrote: >>>=20 >>>>=20 >>>> On 17 apr 2010, at 23.27em, bilal ahmed wrote: >>>>=20 >>>>> Thanks for your immediate help...after solving that issue an other >>>> problem >>>>> comes into "*org.apache.cassandra.avro*" package. to me i think = all >> files >>>>> have't been commited coz when i update this package i get only 5 >> files >>>>> which are mentioned below and u know these files are using other >> classes >>>>> which have't been commited which is why i m getting compile >>>>> time errors in this package. >>>>=20 >>>> I think you might have missed one step from the >> RunningCassandraInEclipse >>>> wiki page: >>>> "The final step is to add the generated Java code to the Eclipse = build >>>> path. Expand and select interface/thrift/gen-java, right click -> = "Build >>>> Path" -> "Use as Source Folder". Do the same for = interface/avro/gen-java >> and >>>> src/gen-java." >>>>=20 >>>>>=20 >>>>> = /cassandra/src/java/org/apache/cassandra/avro/AvroRecordFactory.java >>>>> /cassandra/src/java/org/apache/cassandra/avro/AvroValidation.java >>>>> /cassandra/src/java/org/apache/cassandra/avro/CassandraDaemon.java >>>>> /cassandra/src/java/org/apache/cassandra/avro/CassandraServer.java >>>>>=20 >>>>=20 >> = /cassandra/src/java/org/apache/cassandra/avro/KeyspaceNotDefinedException.= java >>>>>=20 >>>>> BR >>>>> jp >>>>=20 >>>> // Roger Schildmeijer >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>> 2010/4/16 Ted Zlatanov >>>>>=20 >>>>>> On Fri, 16 Apr 2010 18:17:48 +0500 bilal ahmed < >>>> jp.computer.geek@gmail.com> >>>>>> wrote: >>>>>>=20 >>>>>> ba> hi >>>>>> ba> i have started playing with Cassandra from couple of days. = i >>>>>> downloaded >>>>>> ba> its binary and configured it successfully now i want to >> contribute >>>> in >>>>>> this >>>>>> ba> project but i m unable to configure >>>>>>=20 >>>>>> ba> its source code in eclipse. i followed same steps which = were >>>> written >>>>>> on >>>>>> ba> this page " >>>> http://wiki.apache.org/cassandra/RunningCassandraInEclipse" >>>>>> but >>>>>> ba> i m facing some issues. >>>>>>=20 >>>>>> ba> issue is... >>>>>>=20 >>>>>> ba> when i check out the code its directory structure looks = like >>>> this... >>>>>>=20 >>>>>> ba> project-name >>>>>> ba> | >>>>>> ba> src -> java ->org -> apache ->cassandra >>>>>>=20 >>>>>> ba> but when i open any class its package statement looks like >> this... >>>>>>=20 >>>>>> ba> package org.apache.cassandra.auth; or any other package >>>>>>=20 >>>>>> ba> so here eclipse gives me error "*org.apache.cassandra.auth" >> does >>>> not >>>>>> match >>>>>> ba> the expected package "java.org.apache.cassandra.auth*" i = tired a >> lot >>>>>> but i m >>>>>> ba> unable to resolve it. >>>>>>=20 >>>>>> Your source folder should not be "src" but "src/java" >>>>>>=20 >>>>>> You also need to add the "interface/thrift/gen-java" and = "test/unit" >>>>>> source folders (only the former is necessary but the latter is = good >> to >>>>>> have for code searches and to run the tests). >>>>>>=20 >>>>>> Ted >>>>>>=20 >>>>>>=20 >>>>=20 >>>>=20 >>>=20 >>=20