I have actually noticed the same thing when I was working on https://issues.apache.org/jira/browse/CASSANDRA-12485. Even before I made any changes to cassandra-trunk. I was seeing failing unit tests. Not sure if the TriggersSchemaTest was the exact test though.
Thanks, Christopher Licata Senior Software Engineer Capital One-Card Rewards 718.916.8940 On 11/2/16, 5:02 AM, "BORIS MELAMED" <boris.mela...@weather.com> wrote: 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> > ________________________________________________________ The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.