You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (Jira)" <ji...@apache.org> on 2020/02/12 18:26:00 UTC

[jira] [Commented] (CASSANDRA-14608) Confirm correctness of windows scripts post-9608

    [ https://issues.apache.org/jira/browse/CASSANDRA-14608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035582#comment-17035582 ] 

Yuki Morishita commented on CASSANDRA-14608:
--------------------------------------------

I don't think shipping broken script is a good idea, so I go ahead and updated windows script:

[https://github.com/yukim/cassandra/tree/14608]

Patch contains:
 * Java 8 / Java 11 support with new jvm properties files.
 * Powershell 6+ support

I didn't test:
 * "legacy" mode in cmd
 * Install as windows service

I only updated powershell part, so I don't think running is not tested.

Note that I got the following error from sigar only when I'm using Java11 (java 8 runs fine with Sigar):
{code:java}
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=27028, tid=32152
#
# JRE version: OpenJDK Runtime Environment (11.0.2+9) (build 11.0.2+9)
# Java VM: OpenJDK 64-Bit Server VM (11.0.2+9, mixed mode, tiered, compressed oops, concurrent mark sweep gc, windows-amd64)
# Problematic frame:
# C  [sigar-amd64-winnt.dll+0x14ed4]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
# {code}
I'm not sure if this is my environment only or not, but if I remove sigar then it works fine.

I don't mind supporting Windows for dev only because I know some orgs do not allow running VM or docker on their machine, and running Cassandra directly on windows helps in that situation.

> Confirm correctness of windows scripts post-9608
> ------------------------------------------------
>
>                 Key: CASSANDRA-14608
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14608
>             Project: Cassandra
>          Issue Type: Task
>          Components: Packaging
>         Environment: Windows
>            Reporter: Jason Brown
>            Priority: Urgent
>              Labels: Java11, Windows
>             Fix For: 4.0
>
>
> In CASSANDRA-9608, we chose to defer making all the changes to Windows scripts. This ticket is to ensure that we do that work.



--
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