cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BORIS MELAMED <boris.mela...@weather.com>
Subject Many failing unit tests, prior to any changes. NoSuchFieldError: rpc_port
Date Tue, 01 Nov 2016 16:04:05 GMT
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.melamed@weather.com
<boris.melamed@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>

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