Thank you Nate, I followed those instructions as well, and I can run/debug
Cassandra without issues. It's only when I run the test suite that I get
those errors.

(By the way, I meant to write OS-X, not iOS, of course)

-Boris

On Tue, Nov 1, 2016 at 8:24 PM, Nate McCall <zznat...@gmail.com> wrote:

> Hi Boris,
> Did you see this section on the site:
> http://cassandra.apache.org/doc/latest/development/ide.
> html#setting-up-cassandra-in-intellij-idea
>
> I've not had a problem setting everything up in IntelliJ following
> that process.
>
> On Wed, Nov 2, 2016 at 3:04 AM, BORIS MELAMED <boris.mela...@weather.com>
> wrote:
> > Hello,
> >
> > (If there is a more appropriate channel for posing my question, please
> > point me to it.)
> >
> > I have created my own fork of the Cassandra trunk, and prior to making
> any
> > changes, have built and run 'build - test' in my IDEA env, iOS.
> > I'm getting:
> >
> > Ant build completed with 296 errors and 792 warnings in 11m 57s at
> > 10/31/16, 1:22 PM
> >
> > Running tests from command line seems to give the same results (I did not
> > wait, but many similar errors).
> >
> > Many errors like this:
> >
> > Testcase: org.apache.cassandra.triggers.TriggersSchemaTest: Caused an
> ERROR
> > rpc_port
> > java.lang.NoSuchFieldError: rpc_port
> > at
> > org.apache.cassandra.OffsetAwareConfigurationLoader.loadConfig(
> OffsetAwareConfigurationLoader.java:52)
> > at
> > org.apache.cassandra.config.DatabaseDescriptor.loadConfig(
> DatabaseDescriptor.java:261)
> > at
> > org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(
> DatabaseDescriptor.java:140)
> > at org.apache.cassandra.cql3.CQLTester.<clinit>(CQLTester.java:101)
> > at org.apache.cassandra.SchemaLoader.prepareServer(SchemaLoader.java:69)
> > at org.apache.cassandra.SchemaLoader.loadSchema(SchemaLoader.java:51)
> > at
> > org.apache.cassandra.triggers.TriggersSchemaTest.beforeTest(
> TriggersSchemaTest.java:45)
> >
> >
> > Test org.apache.cassandra.triggers.TriggersSchemaTest FAILED
> >
> >
> > But code shows the Config class to have this field defined:
> >
> >     public int rpc_port = 9160;
> >
> > Any advice?
> >
> > ---
> > *Boris Melamed*  |Software Engineer
> > *w:* ++972-545691126      *e: boris.mela...@weather.com
> > <boris.mela...@weather.com>*
> > <http://weather.com/apps> <http://weather.com/apps>
> > <http://weather.com/apps> <http://weather.com/apps>
> > <http://weather.com/apps> <http://weather.com/apps>
>

Reply via email to