Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6AD7C200BB3 for ; Wed, 2 Nov 2016 15:10:22 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6971E160AFB; Wed, 2 Nov 2016 14:10:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8A9B9160AEA for ; Wed, 2 Nov 2016 15:10:21 +0100 (CET) Received: (qmail 28763 invoked by uid 500); 2 Nov 2016 14:10:15 -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 28747 invoked by uid 99); 2 Nov 2016 14:10:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 14:10:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B8002C03D0 for ; Wed, 2 Nov 2016 14:10:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.408 X-Spam-Level: ** X-Spam-Status: No, score=2.408 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=weather.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2ggMWNSyoWNe for ; Wed, 2 Nov 2016 14:10:12 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id DAE8D5FB2B for ; Wed, 2 Nov 2016 14:10:11 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id v84so17752173oie.3 for ; Wed, 02 Nov 2016 07:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weather.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=rnECFNIMG0MbVotqv0vpklwxzAg4VSJ80oh9yyDeyr4=; b=OOtJb7fZA8Yv/t6R9dfKyroZRJ7gyCc7s/5euyhvIW60GxyWjbY29lMD+8VZsTGEfT X2DhsmdMIU0AANOgqzIxLdcabvIJTH/6KCbn8agUhFVyWzfXxYWkDQ/QqX/TKY+L6Nzo 9hgvezW3sYP1fckGgl3f+MJSYuuZNzTvBIQQA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=rnECFNIMG0MbVotqv0vpklwxzAg4VSJ80oh9yyDeyr4=; b=cqbSLEdn8Ik9JrfceRe8zMK4JAb+tbIhbiR2eGYqneCD0BbcEmKYcC+modDuujxvQQ EGEhJ6JTrVaJ4C+ulBgO6uAaIqECxQBfgW/aVUH256WuxfvkY1CvnUtZ90hEFW6MrenY RIW0amXQLXdNTeLrxIOc9IQcOscguFX1PJkXckK1jcsUbZ/CPhuybApjELoZdgzDOhUn YeshA8sGBk0+JfFANU41VrxrmvfOpID84UCv7M0Ed7L4XVPAiUw7maXYni2nqrJUkyFz ZStGpME98VT6zj+wy6cyE5LI7qA5a+vtX2e+RDw6otMn3pHTXxDB8Les8s3NnpDG9+2L GuOQ== X-Gm-Message-State: ABUngveplVwC2/Yhn7ql9KWKtag5nicCG12sMFD3nVF1voxc1T7UsMWICq1voplgT8rhpKCJseH5Q1BbiBHzf5D1 X-Received: by 10.157.42.202 with SMTP id e68mr2175241otb.233.1478095810881; Wed, 02 Nov 2016 07:10:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.19.23 with HTTP; Wed, 2 Nov 2016 07:10:10 -0700 (PDT) In-Reply-To: <856DE1A2-E781-41C1-AACA-52F229002165@capitalone.com> References: <856DE1A2-E781-41C1-AACA-52F229002165@capitalone.com> From: BORIS MELAMED Date: Wed, 2 Nov 2016 16:10:10 +0200 Message-ID: Subject: Re: Many failing unit tests, prior to any changes. NoSuchFieldError: rpc_port To: dev@cassandra.apache.org Content-Type: multipart/alternative; boundary=94eb2c03750ac0d94d054051ff0f archived-at: Wed, 02 Nov 2016 14:10:22 -0000 --94eb2c03750ac0d94d054051ff0f Content-Type: text/plain; charset=UTF-8 Actually, 279 out of 296 failing tests seem to fail with this same error: java.lang.NoSuchFieldError: rpc_port at org.apache.cassandra.OffsetAwareConfigurationLoader.loadConfig( OffsetAwareConfigurationLoader.java:52) *Boris Melamed* |Software Engineer *w:* ++972-545691126 *e: boris.melamed@weather.com * On Wed, Nov 2, 2016 at 3:22 PM, Licata, Christopher (CONT) < Christopher.Licata@capitalone.com> wrote: > 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" 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 > 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.melamed@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.(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 > > > * > > > > > > > > > > > > > > > ________________________________________________________ > > 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. > --94eb2c03750ac0d94d054051ff0f--