From user-return-59496-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Mon Jan 22 08:41:00 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id BD126180609 for ; Mon, 22 Jan 2018 08:41:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ACDCD160C4B; Mon, 22 Jan 2018 07:41:00 +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 558E7160C3A for ; Mon, 22 Jan 2018 08:40:59 +0100 (CET) Received: (qmail 90722 invoked by uid 500); 22 Jan 2018 07:40:57 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 90712 invoked by uid 99); 22 Jan 2018 07:40:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2018 07:40:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 05CAD1A0838 for ; Mon, 22 Jan 2018 07:40:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.579 X-Spam-Level: *** X-Spam-Status: No, score=3.579 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LINEPADDING=1.2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id b0ypzWOtqPJq for ; Mon, 22 Jan 2018 07:40:50 +0000 (UTC) Received: from mail-qt0-f174.google.com (mail-qt0-f174.google.com [209.85.216.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E2E5B5F472 for ; Mon, 22 Jan 2018 07:40:49 +0000 (UTC) Received: by mail-qt0-f174.google.com with SMTP id z10so18541646qti.5 for ; Sun, 21 Jan 2018 23:40:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=c74wMuwwKZMDIwCUiY9FGYmsCuA6ih2x1vr5FKZxp3g=; b=YeG/oekGZP7Ug4OqM4voDsGz5+RnuYBc16tOxRY7Hxxi/awBgtfh9aPb6JAzzb5nwT 5jmKFEY4+39BKPKYakAyqUOLJx577zJfQGHpomQrZqFJ+xyX4c04f5JM35ylIac/iaBI 5LmJrcoP9AkX8hUBYCnBkdjA/TQiDInC+9OcX1grW3uBxa8WKt6DCYbdcNVAdOk8HYMs yLdzUtwvqwgT3y3fw8NWzvVKNfqG3EJZSVUA2g2bhqAKD3SKjWlrsQ5b/vnQhPm/L++u sXf3tCmOMu+vxcPDQhQx0hjH3QvpaSdPSwz7I8ZrsbbRS/yfTlrD6YEE1qpN+W7pPiyh FaGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=c74wMuwwKZMDIwCUiY9FGYmsCuA6ih2x1vr5FKZxp3g=; b=KVJ8lGfIqzZ5+/1eK1APo4Z20HmSqUbLfhHB1luU1HQOuJlxApNcYC04lhuW1GZzcC LjHmsMB7xFEV8JkmsbV2ahfQUJod+s+ZfjUipG/e0BeHnUVXYG3PAexyzhgQBMn5QgXs /sNelmVWd33kwoSoa04Kw8jikAwGPT3oIyj5F6uLcbgRLKjfsCLfRPhOEVYVg/IuYbB4 j4BI5jpkVwVuVRE5GQIfrIRyInqFaYDbdhU4ECzyEVXbSrPH2x/3jyDziHHJ1+uskkCV 90TBWXa/zGBFa+D6fBKNWqDM7gLIhq7vU+Gmr7sQhTWSTfUlbp+8BP8QqzvPIJbjkc3o gq+Q== X-Gm-Message-State: AKwxytfBQC91LaNRUrAAHrRLV9+ks1SI9T30ePaoTONvdhE/5zJtcYJ+ mOeIC3aPKGc+ALTuqbOSp7WkunUt9COxAMlo24sq X-Google-Smtp-Source: AH8x224jb56cmI5w9EJyGFEWvqP73YrkSZsK9iKOfIWRLOXyHnBO1GonNCp1EPAc82O0YzDpVkQfOOfnjPJ3JJ5imTo= X-Received: by 10.55.174.197 with SMTP id x188mr8063731qke.129.1516606848380; Sun, 21 Jan 2018 23:40:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.30.36 with HTTP; Sun, 21 Jan 2018 23:40:47 -0800 (PST) In-Reply-To: References: From: Edward Ribeiro Date: Mon, 22 Jan 2018 05:40:47 -0200 Message-ID: Subject: Re: Cassandra 3.11 fails to start with JDK8u162 To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="94eb2c06dede7634560563588cfc" --94eb2c06dede7634560563588cfc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I have uploaded a couple of patches (targeting 3.6 to trunk) to address https://issues.apache.org/jira/browse/CASSANDRA-14173 so that C* compiles and runs on both JDK8u152 and JDK8u162. This patch still lacks review and throughfully testing! So it can be fundamentally flawed and the best option is just to really avoid migrating to JDK8u162, as Sam correctly pointed out, or a better solution pops up in the meantime. Please, whenever you have time, let me know if it's incorrect or flawed so that I can remove the attachments from the JIRA issue asap. Finally, quoting Sam again: "we should identify a more stable solution & apply that to both 3.11 and 4.0." Therefore, even if the patches make any sense, it's a temporary workaround. Regards, Edward On Fri, Jan 19, 2018 at 4:08 AM, Steinmaurer, Thomas < thomas.steinmaurer@dynatrace.com> wrote: > Ben, > > > > at least 3.0.14 starts up fine for me with 8u162. > > > > Regards, > > Thomas > > > > *From:* Ben Wood [mailto:bwood@mesosphere.io] > *Sent:* Donnerstag, 18. J=C3=A4nner 2018 23:24 > > *To:* user@cassandra.apache.org > *Subject:* Re: Cassandra 3.11 fails to start with JDK8u162 > > > > I'm correct in assuming 10091 didn't go into 3.0? > > > > On Thu, Jan 18, 2018 at 2:32 AM, Steinmaurer, Thomas < > thomas.steinmaurer@dynatrace.com> wrote: > > Sam, > > > > thanks for the confirmation. Going back to u152 then. > > > > Thomas > > > > *From:* lists@beobal.com [mailto:lists@beobal.com] *On Behalf Of *Sam > Tunnicliffe > *Sent:* Donnerstag, 18. J=C3=A4nner 2018 10:16 > *To:* user@cassandra.apache.org > *Subject:* Re: Cassandra 3.11 fails to start with JDK8u162 > > > > This isn't (wasn't) a known issue, but the way that CASSANDRA-10091 was > implemented using internal JDK classes means it was always possible that = a > minor JVM version change could introduce incompatibilities (CASSANDRA-296= 7 > is also relevant). > > We did already know that we need to revisit the way this works in 4.0 for > JDK9 support (CASSANDRA-9608), so we should identify a more stable soluti= on > & apply that to both 3.11 and 4.0. > > In the meantime, downgrading to 152 is the only real option. > > > > I've opened https://issues.apache.org/jira/browse/CASSANDRA-14173 for > this. > > > > Thanks, > > Sam > > > > > > On 18 January 2018 at 08:43, Nicolas Guyomar > wrote: > > Thank you Thomas for starting this thread, I'm having exactly the same > issue on AWS EC2 RHEL-7.4_HVM-20180103-x86_64-2-Hourly2-GP2 > (ami-dc13a4a1) I was starting to bang my head on my desk ! > > > > So I'll try to downgrade back to 152 then ! > > > > > > > > On 18 January 2018 at 08:34, Steinmaurer, Thomas < > thomas.steinmaurer@dynatrace.com> wrote: > > Hello, > > > > after switching from JDK8u152 to JDK8u162, Cassandra fails with the > following stack trace upon startup. > > > > ERROR [main] 2018-01-18 07:33:18,804 CassandraDaemon.java:706 - Exception > encountered during startup > > java.lang.AbstractMethodError: org.apache.cassandra.utils. > JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/ > RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/ > misc/ObjectInputFilter;)Ljava/rmi/Remote; > > at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPSe= rverImpl.java:150) > ~[na:1.8.0_162] > > at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPSe= rverImpl.java:135) > ~[na:1.8.0_162] > > at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnec= torServer.java:405) > ~[na:1.8.0_162] > > at org.apache.cassandra.utils.JMXServerUtils.createJMXServer(JMXS= erverUtils.java:104) > ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT] > > at org.apache.cassandra.service.CassandraDaemon.maybeInitJmx(Cass= andraDaemon.java:143) > [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT] > > at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDa= emon.java:188) > [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT] > > at org.apache.cassandra.service.CassandraDaemon.activate(Cassandr= aDaemon.java:600) > [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT] > > at org.apache.cassandra.service.CassandraDaemon.main(CassandraDae= mon.java:689) > [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT] > > > > Is this a known issue? > > > > > > Thanks, > > Thomas > > > > The contents of this e-mail are intended for the named addressee only. It > contains information that may be confidential. Unless you are the named > addressee or an authorized designee, you may not copy or use it, or > disclose it to anyone else. If you received it in error please notify us > immediately and then destroy it. Dynatrace Austria GmbH (registration > number FN 91482h) is a company registered in Linz whose registered office > is at 4040 Linz, Austria, Freist > > =C3=A4dterstra > > =C3=9Fe 313 > > > > > > > The contents of this e-mail are intended for the named addressee only. It > contains information that may be confidential. Unless you are the named > addressee or an authorized designee, you may not copy or use it, or > disclose it to anyone else. If you received it in error please notify us > immediately and then destroy it. Dynatrace Austria GmbH (registration > number FN 91482h) is a company registered in Linz whose registered office > is at 4040 Linz, Austria, Freist=C3=A4dterstra=C3=9Fe 313 > > > > > > > -- > > Ben Wood > > Software Engineer - Data Agility > > Mesosphere > The contents of this e-mail are intended for the named addressee only. It > contains information that may be confidential. Unless you are the named > addressee or an authorized designee, you may not copy or use it, or > disclose it to anyone else. If you received it in error please notify us > immediately and then destroy it. Dynatrace Austria GmbH (registration > number FN 91482h) is a company registered in Linz whose registered office > is at 4040 Linz, Austria, Freist=C3=A4dterstra=C3=9Fe 313 > > --94eb2c06dede7634560563588cfc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I have uploaded a couple of patches (targeti= ng 3.6 to trunk) to address =C2=A0https://issues.apache.org/jira/browse/CASSANDRA-14= 173 so that C* compiles and runs on both JDK8u152 and JDK8u162. This pa= tch still lacks review and throughfully testing! So it can be fundamentally= flawed and the best option is just to really =C2=A0avoid migrating to JDK8= u162, as Sam correctly pointed out, or a better solution pops up in the mea= ntime.

Please, whenever you have time, let me know if it's incor= rect or flawed so that I can remove the attachments from the JIRA issue asa= p. Finally, quoting Sam again: "we should identify a more stable solut= ion & apply that to both 3.11 and 4.0." Therefore, even if the pat= ches make any sense, it's a temporary workaround.

Regards,
Ed= ward

On Fri,= Jan 19, 2018 at 4:08 AM, Steinmaurer, Thomas <thomas.stein= maurer@dynatrace.com> wrote:

<= span style=3D"font-size:11.0pt;font-family:"Calibri",sans-serif;c= olor:#1f497d">Ben,

=C2=A0

at least 3.0.14 starts= up fine for me with 8u162.

=C2=A0

Regards,=

Thomas

=C2=A0

From: = Ben Wood [mailto:b= wood@mesosphere.io]
Sent: Donnerstag, 18. J=C3=A4nner 2018 23:24


To: u= ser@cassandra.apache.org
Subject: Re: Cassandra 3.11 fails to start with JDK8u162

=C2=A0

I'm correct in assuming 10091 didn't go into= 3.0?

=C2=A0

On Thu, Jan 18, 2018 at 2:32 AM, Steinmaurer, Thomas= <= thomas.steinmaurer@dynatrace.com> wrote:

Sam,

=C2=A0

thanks for the confirm= ation. Going back to u152 then.

=C2=A0

Thomas

=C2=A0

From: lists@beobal.com = [mailto:lists@beobal.= com] On Behalf Of Sam Tunnicliffe
Sent: Donnerstag, 18. J=C3=A4nner 2018 10:16
To: u= ser@cassandra.apache.org
Subject: Re: Cassandra 3.11 fails to start with JDK8u162

=C2=A0

This isn't (wasn't) a known issue, but the w= ay that CASSANDRA-10091 was implemented using internal JDK classes means it= was always possible that a minor JVM version change could introduce incompatibilities (CASSANDRA-2967 is also relevant).

We did already know that we need to revisit the way = this works in 4.0 for JDK9 support (CASSANDRA-9608), so we should identify = a more stable solution & apply that to both 3.11 and 4.0.

In the meantime, downgrading to 152 is the only real= option.

=C2=A0

=C2=A0

Thanks,

Sam

=C2=A0

=C2=A0

On 18 January 2018 at 08:43, Nicolas Guyomar <nicolas.guyomar= @gmail.com> wrote:

Thank you Thomas for starting this thread, I'm h= aving exactly the same issue on AWS EC2 RHEL-7.4_HVM-20180103-x86_64-2= -Hourly2-GP2 (ami-dc13a4a1)=C2=A0 I was starting to bang my head on my desk !=C2=A0

=C2=A0

So I'll try to downgrade back to 152 then !

=C2=A0

=C2=A0

=C2=A0

On 18 January 2018 at 08:34, Steinmaurer, Thomas <= ;thom= as.steinmaurer@dynatrace.com> wrote:

Hello,

=C2=A0

after switching from JDK8u152 t= o JDK8u162, Cassandra fails with the following stack trace upon startup.

=C2=A0

ERROR [main] 2018-01-18 07:33:1= 8,804 CassandraDaemon.java:706 - Exception encountered during startup

java.lang.AbstractMethodError: = org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(L= java/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;= )Ljava/rmi/Remote;

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at javax.management.remote.rmi.RMIJRMPServerImpl.export(<= wbr>RMIJRMPServerImpl.java:150) ~[na:1.8.0_162]

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at javax.management.remote.rmi.RMIJRMPServerImpl.export(<= wbr>RMIJRMPServerImpl.java:135) ~[na:1.8.0_162]

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at javax.management.remote.rmi.RMIConnectorServer.start(<= wbr>RMIConnectorServer.java:405) ~[na:1.8.0_162]

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.cassandra.utils.JMXServerUtils.createJ= MXServer(JMXServerUtils.java:104) ~[apache-cassandra-3.11.2-SNAPS= HOT.jar:3.11.2-SNAPSHOT]

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.cassandra.service.CassandraDaemon.maybeInit= Jmx(CassandraDaemon.java:143) [apache-cassandra-3.11.2-SNAPSHOT.j= ar:3.11.2-SNAPSHOT]

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:188) [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11= .2-SNAPSHOT]

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.cassandra.service.CassandraDaemon.activate(= CassandraDaemon.java:600) [apache-cassandra-3.11.2-SNAPSHOT.jar:3= .11.2-SNAPSHOT]

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:689) [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.= 2-SNAPSHOT]

=C2=A0

Is this a known issue?

=C2=A0

=C2=A0

Thanks,

Thomas

=C2=A0

The contents of this e-mail are intended for the nam= ed addressee only. It contains information that may be confidential. Unless= you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received= it in error please notify us immediately and then destroy it. Dynatrace Au= stria GmbH (registration number FN 91482h) is a company registered in Linz = whose registered office is at 4040 Linz, Austria, Freist=C3=A4dterstra=C3=9Fe 313

=C2=A0

=C2=A0

The contents of this e-mail are intended for the nam= ed addressee only. It contains information that may be confidential. Unless= you are the named addressee or an authorized designee, you may not copy or= use it, or disclose it to anyone else. If you received it in error please notify us immediately and then de= stroy it. Dynatrace Austria GmbH (registration number FN 91482h) is a compa= ny registered in Linz whose registered office is at 4040 Linz, Austria, Freist=C3=A4dterstra=C3=9Fe 313



=C2=A0

--

Ben Wood

Software Engineer - Data Agility

Mesosphere

The contents of this e-mail are intended for the named addressee only. It c= ontains information that may be confidential. Unless you are the named addr= essee or an authorized designee, you may not copy or use it, or disclose it= to anyone else. If you received it in error please notify us immediately and then destroy it. Dynatrace Au= stria GmbH (registration number FN 91482h) is a company registered in Linz = whose registered office is at 4040 Linz, Austria, Freist=C3=A4dterstra=C3=9Fe 313

--94eb2c06dede7634560563588cfc--