RE: Fatal Java error when starting cassandra

2021-03-18 Thread Regis Le Bretonnic
Probably DLLs that are not registered.
You should cleanly install Cassandra and java... and then copy your keyspaces 
(...\cassandra\data contents)


RE: Cassandra video tutorials for administrators.

2021-03-18 Thread Durity, Sean R
+1 for data modeling. If an admin can spend the day helping app teams get the 
model right BEFORE hitting production, those are the best days (and prevent the 
bad days of trying to engineer around a bad model/migrate data to new 
tables/etc)

I also find good value in understanding the availability guarantees of 
Cassandra and the underlying VMs/hardware for each application. However, app 
teams do not usually spend the necessary time to understand how to construct 
their connections to take full advantage of the powerful cluster they have. 
Learning about the connection policies of the various drivers is important. 
Then “encourage” the app team to actually test their availability in lower life 
cycles by simulating various failure scenarios.

Then there is monitoring – a beast of a subject… Trying to figure out what is 
actionable is a life-long journey. 😉

Fortunately, my “How to Become the Lord of the Rings” talk from Cassandra 
Summit 2019 is not available. You can avoid my ugly mug.

Sean Durity

From: Patrick McFadin 
Sent: Wednesday, March 17, 2021 9:34 PM
To: user@cassandra.apache.org
Subject: [EXTERNAL] Re: Cassandra video tutorials for administrators.

Hi Justine,

Welcome to the community! There is quite an extensive playlist here from an 
older DataStax Academy course on Cassandra admin: 
https://www.youtube.com/playlist?list=PL2g2h-wyI4SrHMlHBJVe_or_Ryek2THgQ 
[youtube.com]

An exact daily task list type video I haven't seen. In my experience the 
fundamental things to know for the day to day ops are running repairs and 
backups. More one off but useful topics are things like adding or removing 
nodes from the cluster or even restoring a backup. To be helpful with 
developers using the system, it's good to get a foundation in data modeling. 
You'll find that a lot of issues come down to just a bad data model and knowing 
what that looks like can save a lot of time. Here's a playlist for that: 
https://www.youtube.com/playlist?list=PL2g2h-wyI4SqIigskyJNAeL2vSTJZU_Qp 
[youtube.com]

Please feel free ask questions as the pop up.

Patrick

On Wed, Mar 17, 2021 at 6:24 PM 
mailto:justine...@biblicaltext.com>> wrote:
Hi Elliott,

Watching it now, this video is super super helpful, thanks for sharing. I was 
however thinking more about day to day maintenance issues, maybe that topic is 
not quite as sexy for a youtube video 😀   Maybe I should make one once I have 
become a bit more experience under my belt.

On Mar 18, 2021, at 6:27 AM, Elliott Sims 
mailto:elli...@backblaze.com>> wrote:

I'm a big fan of this one about LWTs: 
https://www.youtube.com/watch?v=wcxQM3ZN20c 
[youtube.com]
Not only if you want to understand LWTs, but also to get a better understanding 
of the sometimes-unintuitive consistency promises made and not made for non-LWT 
queries.

On Tue, Mar 16, 2021 at 11:53 PM 
mailto:justine...@biblicaltext.com>> wrote:
I know there is a lot of useful information out there, including on you tube. I 
am looking for recommendations for good introductory (but detailed) videos 
created by people who have cassandra cluster management, that outline all the 
day to day activities someone who is managing a cluster would understand and/or 
be doing.

I believe I have a reasonably good grasp of Cassandra, but I am in that “I 
don’t know what I don’t know phase” where there might be things that I am 
unaware I should understand.


—
Justine So
DevOps Engineer
https://biblicaltext.com/ 
[biblicaltext.com]



The information in this Internet Email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this Email by 
anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful. When addressed to our 
clients any opinions or advice contained in this Email are subject to the terms 
and conditions expressed in any applicable governing The Home Depot terms of 
business or client engagement letter. The Home Depot disclaims all 
responsibility and liability for the accuracy and content of this attachment 
and for any damages or losses arising from any inaccuracies, errors, viruses, 
e.g., worms, trojan horses, etc., or other i

RE: Fatal Java error when starting cassandra

2021-03-18 Thread Manu Chadha
Thanks. No success unfortunately

From: Regis Le Bretonnic 
Sent: 18 March 2021 07:13
To: user@cassandra.apache.org
Subject: RE: Fatal Java error when starting cassandra

Probably DLLs that are not registered.
You should cleanly install Cassandra and java... and then copy your keyspaces 
(...\cassandra\data contents)


Re: Fatal Java error when starting cassandra

2021-03-18 Thread Kane Wilson
Cassandra is not tested on Windows and isn't officially supported or widely
used in that environment, so you're unlikely to find much help. This seems
to be file system related, which could be a change in Windows or it could
be a result of copying? Were there symlinks or directory junctions or
something in the data you copied? It's probably worth trying to run up
cassandra from scratch and see if you get the same error to rule out
whether it's a problem with what you copied or a problem with the
underlying filesystem.

raft.so - Cassandra consulting, support, and managed services


On Fri, Mar 19, 2021 at 9:07 AM Manu Chadha  wrote:

> Thanks. No success unfortunately
>
>
>
> *From:* Regis Le Bretonnic 
> *Sent:* 18 March 2021 07:13
> *To:* user@cassandra.apache.org
> *Subject:* RE: Fatal Java error when starting cassandra
>
>
>
> Probably DLLs that are not registered.
> You should cleanly install Cassandra and java… and then copy your
> keyspaces (…\cassandra\data contents)
>


Re: Fatal Java error when starting cassandra

2021-03-18 Thread Bowen Song

Try downgrade your JDK to 1.8.0_241.


On 18/03/2021 06:45, Manu Chadha wrote:


Hi

Cassandra doesn’t start on my PC. I recently changed my machine. I 
simply copied the old Cassandra folder in the new machine. When I 
start Cassandra, I get error. Sorry for dumping the whole thing here 
but I don’t know where to look. My preference is not to reinstall 
Cassandra. I am using 3.11.6 version


#

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x10014ed4, 
pid=30524, tid=0x6fec


#

# JRE version: Java(TM) SE Runtime Environment (8.0_281-b09) (build 
1.8.0_281-b09)


# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.281-b09 mixed mode 
windows-amd64 compressed oops)


# Problematic frame:

# C  [sigar-amd64-winnt.dll+0x14ed4]

#

# Failed to write core dump. 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.

#

---  T H R E A D ---

Current thread (0x01ae87d4fc00): JavaThread "main" 
[_thread_in_native, id=28652, 
stack(0x006f9a80,0x006f9a84)]


siginfo: ExceptionCode=0xc005, reading address 0xa8ac1d98

Registers:

RAX=0xa8ac1c60, RBX=0x01aea8c88788, 
RCX=0x01ae87d4fdf8, RDX=0x006f9a83e478


RSP=0x006f9a83e2a0, RBP=0x006f9a83e458, 
RSI=0x01aea57d0480, RDI=0x0011f2d8


R8 =0x0032, R9 =0x0005c822fac0, 
R10=0x0014, R11=0x54708a5c


R12=0x, R13=0x01aea8c88780, 
R14=0x006f9a83e478, R15=0x01ae87d4fc00


RIP=0x10014ed4, EFLAGS=0x00010286

Top of Stack: (sp=0x006f9a83e2a0)

0x006f9a83e2a0:   01ae87d4fdf8 006f9a83e478

0x006f9a83e2b0:   01ae87d4fc00 01aea8c88780

0x006f9a83e2c0:   a8ac1c60 006f9a83e478

0x006f9a83e2d0:   006f9a83e458 10021a81

0x006f9a83e2e0:   01ae87d4fdf8 006f9a83e478

0x006f9a83e2f0:   01aea57d0480 0011f2d8

0x006f9a83e300:   01ae87d4fc00 

0x006f9a83e310:   01ae87d4fc00 01ae87d4fc00

0x006f9a83e320:   01aea60a9d18 

0x006f9a83e330:   01aea8c88788 

0x006f9a83e340:   01ae87d4fc00 006f9a83e478

0x006f9a83e350:   006f9a83e458 53ff2d7b

0x006f9a83e360:   006f9a83e390 

0x006f9a83e370:   01aea8c88788 01ae87d66e50

0x006f9a83e380:   01aea8c88788 01ae87d4fc00

0x006f9a83e390:   01aea8c88788 01ae87d4fc00

Instructions: (pc=0x10014ed4)

0x10014eb4:   7c 24 20 00 75 15 48 8d 15 df 58 04 00 48 8b 4c

0x10014ec4:   24 40 e8 45 00 00 00 33 c0 eb 32 48 8b 44 24 20

0x10014ed4:   83 b8 38 01 00 00 00 74 1f 48 8b 44 24 20 44 8b

0x10014ee4:   80 38 01 00 00 48 8b 54 24 20 48 8b 4c 24 40 e8

Register to memory mapping:

RAX=0xa8ac1c60 is an unknown value

RBX={method} {0x01aea8c88790} 'getFileSystemListNative' 
'()[Lorg/hyperic/sigar/FileSystem;' in 'org/hyperic/sigar/Sigar'


RCX=0x01ae87d4fdf8 is an unknown value

RDX=0x006f9a83e478 is pointing into the stack for thread: 
0x01ae87d4fc00


RSP=0x006f9a83e2a0 is pointing into the stack for thread: 
0x01ae87d4fc00


RBP=0x006f9a83e458 is pointing into the stack for thread: 
0x01ae87d4fc00


RSI={method} {0x01aea57d0488} '' '()V' in 'java/lang/Object'

RDI=0x0011f2d8 is an unknown value

R8 =0x0032 is an unknown value

R9 =

[error occurred during error reporting (printing register info), id 
0xc005]


Stack: [0x006f9a80,0x006f9a84], 
sp=0x006f9a83e2a0,  free space=248k


Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
C=native code)


C  [sigar-amd64-winnt.dll+0x14ed4]

C  [sigar-amd64-winnt.dll+0x21a81]

C  0x01ae89b09cee

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)

j 
org.hyperic.sigar.Sigar.getFileSystemListNative()[Lorg/hyperic/sigar/FileSystem;+0


j 
org.hyperic.sigar.Sigar.getFileSystemList()[Lorg/hyperic/sigar/FileSystem;+1


j 
org.hyperic.sigar.Sigar.getFileSystemMap()Lorg/hyperic/sigar/FileSystemMap;+19


j org.apache.cassandra.utils.SigarLibrary.()V+79

j org.apache.cassandra.utils.SigarLibrary.()V+4

v  ~StubRoutines::call_stub

j org.apache.cassandra.service.StartupChecks$7.execute()V+0

j org.apache.cassandra.service.StartupChecks.verify()V+30

j org.apache.cassandra.service.CassandraDaemon.setup()V+41

j org.apache.cassandra.service.CassandraDaemon.activate()V+46

j 
org.apache.cassandra.service.CassandraDaemon.main([Ljava/lang/String;)V+3


v  ~StubRoutines::call