I am trying to get Cassandra 3.11.13 running on my Windows 10 machine. There are reasons why I can't do in with docker and why I can't use the installer.
I am following these instructions: https://phoenixnap.com/kb/install-cassandra-on-windows
On a Windows command prompt, I launch the cassandra.bat batch file.
Any hints or tips what I am doing wrong?
Detected powershell execution permissions. Running with enhanced startup scripts.
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
WARNING! Automatic page file configuration detected.
It is recommended that you disable swap when running Cassandra
for performance and stability reasons.
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
Ausnahme beim Aufrufen von "Start" mit 0 Argument(en): "Falscher Parameter"
In D:\work\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:212 Zeichen:5
$p.Start() | Out-Null
~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : Win32Exception
Ausnahme beim Aufrufen von "WaitForExit" mit 0 Argument(en): "Diesem Objekt ist kein Prozess zugeordnet."
In D:\...\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:213 Zeichen:5
$p.WaitForExit()
~~~~~~~~~~~~~~~~
CategoryInfo : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : InvalidOperationException
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In D:\work\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:214 Zeichen:5
$stderr = $p.StandardError.ReadToEnd()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In D:\...\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:218 Zeichen:9
+ if ($stderr.Contains("Error"))
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In D:\...\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:231 Zeichen:5
+ $sa = $stderr.Split("""")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, einen Index auf ein NULL-Array anzuwenden.
In D:\...\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:232 Zeichen:5
+ $env:JVM_VERSION = $sa[1]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In D:\...\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:234 Zeichen:9
if ($stderr.Contains("OpenJDK"))
~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, einen Index auf ein NULL-Array anzuwenden.
In D:\work\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:247 Zeichen:5
$pa = $sa[1].Split("_")
~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : NullArray
Es ist nicht möglich, einen Index auf ein NULL-Array anzuwenden.
In D:\..\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:248 Zeichen:5
$subVersion = $pa[1]
~~~~~~~~~~~~~~~~~~~~
CategoryInfo : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : NullArray
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
WARNING! Detected a power profile other than High Performance.
Performance of this node will suffer.
Modify conf\cassandra.env.ps1 to suppress this warning.
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In D:\...\tools\apache-cassandra-3.11.13\conf\cassandra-env.ps1:406 Zeichen:9
if ($env:JVM_VERSION.CompareTo("1.8.0") -eq -1 -or [convert]::ToI ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : InvokeMethodOnNull
Ausnahme beim Aufrufen von "Start" mit 0 Argument(en): "Falscher Parameter"
In D:\...\tools\apache-cassandra-3.11.13\bin\cassandra.ps1:251 Zeichen:9
$p.Start() | Out-Null
~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : Win32Exception
Ausnahme beim Aufrufen von "WaitForExit" mit 0 Argument(en): "Diesem Objekt ist kein Prozess zugeordnet."
In D:\..\apache-cassandra-3.11.13\bin\cassandra.ps1:253 Zeichen:9
$p.WaitForExit()
~~~~~~~~~~~~~~~~
CategoryInfo : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : InvalidOperationException