incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j p <jp.computer.g...@gmail.com>
Subject Re: need help regarding Cassandra Setup in eclipse
Date Sun, 18 Apr 2010 07:53:44 GMT
I am a newbie in this domain so please can u describe the required steps.

thanks in advance.

BR
jp


On Sun, Apr 18, 2010 at 2:56 AM, Jonathan Ellis <jbellis@gmail.com> wrote:

> http://wiki.apache.org/cassandra/LiveSchemaUpdates
>
> On Sat, Apr 17, 2010 at 4:51 PM, bilal ahmed <jp.computer.geek@gmail.com>
> 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
> >
> >
> > *
> > *
> > * *
> > *
> > *
> > *
> > *
> > On Sun, Apr 18, 2010 at 2:31 AM, Roger Schildmeijer
> > <schildmeijer@gmail.com>wrote:
> >
> >>
> >> On 17 apr 2010, at 23.27em, bilal ahmed wrote:
> >>
> >> > 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.
> >>
> >> 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."
> >>
> >> >
> >> > /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
> >> >
> >>
> /cassandra/src/java/org/apache/cassandra/avro/KeyspaceNotDefinedException.java
> >> >
> >> > BR
> >> > jp
> >>
> >> // Roger Schildmeijer
> >> >
> >> >
> >> >
> >> >
> >> > 2010/4/16 Ted Zlatanov <tzz@lifelogs.com>
> >> >
> >> >> On Fri, 16 Apr 2010 18:17:48 +0500 bilal ahmed <
> >> jp.computer.geek@gmail.com>
> >> >> wrote:
> >> >>
> >> >> 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
> >> >>
> >> >> 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.
> >> >>
> >> >> ba>   issue is...
> >> >>
> >> >> ba>   when i check out the code its directory structure looks like
> >> this...
> >> >>
> >> >> ba>   project-name
> >> >> ba>     |
> >> >> ba>      src -> java ->org -> apache ->cassandra
> >> >>
> >> >> ba>   but when i open any class its package statement looks like
> this...
> >> >>
> >> >> ba>    package org.apache.cassandra.auth; or any other package
> >> >>
> >> >> 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.
> >> >>
> >> >> Your source folder should not be "src" but "src/java"
> >> >>
> >> >> 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).
> >> >>
> >> >> Ted
> >> >>
> >> >>
> >>
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message