You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gus Heck (Jira)" <ji...@apache.org> on 2020/01/05 08:05:00 UTC
[jira] [Comment Edited] (CASSANDRA-15258) Cassandra JDK11 not
working
[ https://issues.apache.org/jira/browse/CASSANDRA-15258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008266#comment-17008266 ]
Gus Heck edited comment on CASSANDRA-15258 at 1/5/20 8:04 AM:
--------------------------------------------------------------
Took a look at the code in FileUtils and I'm not quite understanding why the methodhandles and reflection are necessary. I did find that I can also repro the same stacktrace by running ConnectionTest vs the above JDK (or an oracle java 9 jdk, or the current ubuntu open jdk 11) in intellij. I tried simply casting whih *looks* like it shoudl work since the method is public on the interface... yet it fails in a very odd way where testTimeout spins forever.... and a lot of "javax.net.ssl.SSLException: SSLEngine closed already" messages.
was (Author: gus_heck):
Took a look at the code in FileUtils and I'm not quite understanding why the methodhandles and reflection are necessary. I did find that I can also repro the same stacktrace by running ConnectionTest vs the above JDK in intellij. I tried simply casting whih *looks* like it shoudl work since the method is public on the interface... yet it fails in a very odd way where testTimeout spins forever.... and a lot of "javax.net.ssl.SSLException: SSLEngine closed already" messages.
> Cassandra JDK11 not working
> ----------------------------
>
> Key: CASSANDRA-15258
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15258
> Project: Cassandra
> Issue Type: Bug
> Components: Build, Local/Startup and Shutdown
> Reporter: RamyaK
> Priority: Urgent
> Labels: windows
>
> I'm trying to setup Cassandra 4.0 trunk with OpenJDK11, but getting below error on start up.
>
> + $content = Get-Content "$env:CASSANDRA_CONF\jvm.options"
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> + CategoryInfo : ObjectNotFound: (D:\Stuff\save\C...onf\jvm.options:String) [Get-Content], ItemNotFoundException
> + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
> Also JVM_VERSION is 11, still its showing as
> Cassandra 4.0 requires either Java 8 (update 151 or newer) or Java 11 (or newer). Java 11 is not supported.
>
> Please suggest.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org