[
https://issues.apache.org/jira/browse/CASSANDRA-5777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138211#comment-14138211
]
Peter Magnusson commented on CASSANDRA-5777:
--------------------------------------------
It crashes even if compression is of. I'm getting segfaults using
apache-cassandra 2.1.0.
In cassandra.yaml i do have *internode_compression: none*
I can trigger it by just letting cassandra start and then try to connect with
cqlsh on the same, or remote, machine.
I had the impression that snappy wasn't used if compression was disabled but it
doesn't look like it.
{noformat}
bin/cqlsh 192.168.1.166
Connection error: ('Unable to connect to any servers', {'192.168.1.166':
ConnectionShutdown('Connection <AsyncoreConnection(25088720) 192.168.1.166:9042
(closed)> is already closed',)})
{noformat}
{noformat}
INFO 23:31:27 Enqueuing flush of local: 636 (0%) on-heap, 0 (0%) off-heap
INFO 23:31:27 Writing Memtable-local@18046640(104 serialized bytes, 4 ops,
0%/0% of on/off-heap limit)
INFO 23:31:28 Completed flushing
/home/pi/apache-cassandra-2.1.0/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-51-Data.db
(116 bytes) for commitlog position ReplayPosition(segmentId=1410996668320,
position=87353)
INFO 23:31:28 Enqueuing flush of local: 49383 (0%) on-heap, 0 (0%) off-heap
INFO 23:31:28 Writing Memtable-local@16539197(8541 serialized bytes, 259 ops,
0%/0% of on/off-heap limit)
INFO 23:31:28 Completed flushing
/home/pi/apache-cassandra-2.1.0/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-52-Data.db
(5291 bytes) for commitlog position ReplayPosition(segmentId=1410996668320,
position=99326)
INFO 23:31:28 Compacting
[SSTableReader(path='/home/pi/apache-cassandra-2.1.0/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-50-Data.db'),
SSTableReader(path='/home/pi/apache-cassandra-2.1.0/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-52-Data.db'),
SSTableReader(path='/home/pi/apache-cassandra-2.1.0/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-49-Data.db'),
SSTableReader(path='/home/pi/apache-cassandra-2.1.0/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-51-Data.db')]
INFO 23:31:29 Node /192.168.1.166 state jump to normal
INFO 23:31:29 Waiting for gossip to settle before accepting client requests...
INFO 23:31:29 Compacted 4 sstables to
[bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-53,].
11,383 bytes to 5,732 (~50% of original) in 1,147ms = 0.004766MB/s. 4 total
partitions merged to 1. Partition merge counts were {4:1, }
INFO 23:31:37 No gossip backlog; proceeding
INFO 23:31:39 Using Netty Version:
[netty-buffer=netty-buffer-4.0.20.Final.1709113,
netty-codec=netty-codec-4.0.20.Final.1709113,
netty-codec-http=netty-codec-http-4.0.20.Final.1709113,
netty-codec-socks=netty-codec-socks-4.0.20.Final.1709113,
netty-common=netty-common-4.0.20.Final.1709113,
netty-handler=netty-handler-4.0.20.Final.1709113,
netty-transport=netty-transport-4.0.20.Final.1709113,
netty-transport-rxtx=netty-transport-rxtx-4.0.20.Final.1709113,
netty-transport-sctp=netty-transport-sctp-4.0.20.Final.1709113,
netty-transport-udt=netty-transport-udt-4.0.20.Final.1709113]
INFO 23:31:39 Starting listening for CQL clients on /192.168.1.166:9042...
INFO 23:31:40 Binding thrift service to /192.168.1.166:9160
INFO 23:31:40 Listening for thrift clients...
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x996f2254, pid=10493, tid=2630349936
#
# JRE version: Java(TM) SE Runtime Environment (7.0_40-b43) (build 1.7.0_40-b43)
# Java VM: Java HotSpot(TM) Client VM (24.0-b56 mixed mode linux-arm )
# Problematic frame:
# C [snappy-1.0.5.2-libsnappyjava.so+0x1254] _init+0x223
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/pi/apache-cassandra-2.1.0/hs_err_pid10493.log
Segmentation fault
{noformat}
> Crash if internode compression is on
> -------------------------------------
>
> Key: CASSANDRA-5777
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5777
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 2.0 beta 1
> Environment: Raspberry Pi, Oracle jdk 1.8
> Reporter: Andy Cobley
> Priority: Minor
>
> 2 node Raspberry Pi system. Node one is started fine. Try and start node 2
> making sure that both nodes have internnode compression turned on:
> internode_compression: all
> When node 2 starts there is a crash. Trace is:
> {noformat}
> DEBUG 10:45:08,432 adding
> /var/lib/cassandra/data/system/local/system-local-ja-2 to list of files
> tracked for system.local
> DEBUG 10:45:08,438 Scheduling a background task check for system.local with
> SizeTieredCompactionStrategy
> DEBUG 10:45:08,443 Checking system.local
> DEBUG 10:45:08,448 Compaction buckets are
> [[SSTableReader(path='/var/lib/cassandra/data/system/local/system-local-ja-1-Data.db'),
>
> SSTableReader(path='/var/lib/cassandra/data/system/local/system-local-ja-2-Data.db')]]
> DEBUG 10:45:08,452 discard completed log segments for
> ReplayPosition(segmentId=1374230697429, position=81283), column family
> 7ad54392-bcdd-35a6-8417-4e047860b377
> DEBUG 10:45:08,457 Not deleting active commitlog segment
> CommitLogSegment(/var/lib/cassandra/commitlog/CommitLog-3-1374230697429.log)
> DEBUG 10:45:08,462 No tasks available
> DEBUG 10:45:09,028 Gossiping my schema version
> 59adb24e-f3cd-3e02-97f0-5b395827453f
> INFO 10:45:09,099 Starting Messaging Service on port 7000
> DEBUG 10:45:09,629 Created HHOM instance, registered MBean.
> DEBUG 10:45:09,803 attempting to connect to /192.168.0.10
> DEBUG 10:45:09,812 Bootstrap variables: true false false false
> INFO 10:45:09,909 Enqueuing flush of Memtable-local@12523409(86/86
> serialized/live bytes, 4 ops)
> INFO 10:45:09,916 Writing Memtable-local@12523409(86/86 serialized/live
> bytes, 4 ops)
> INFO 10:45:09,932 Handshaking version with /192.168.0.10
> DEBUG 10:45:10,664 Renaming
> /var/lib/cassandra/data/system/local/system-local-tmp-ja-3-Index.db to
> /var/lib/cassandra/data/system/local/system-local-ja-3-Index.db
> DEBUG 10:45:10,709 Renaming
> /var/lib/cassandra/data/system/local/system-local-tmp-ja-3-TOC.txt to
> /var/lib/cassandra/data/system/local/system-local-ja-3-TOC.txt
> DEBUG 10:45:10,723 Renaming
> /var/lib/cassandra/data/system/local/system-local-tmp-ja-3-CompressionInfo.db
> to /var/lib/cassandra/data/system/local/system-local-ja-3-CompressionInfo.db
> DEBUG 10:45:10,733 Renaming
> /var/lib/cassandra/data/system/local/system-local-tmp-ja-3-Statistics.db to
> /var/lib/cassandra/data/system/local/system-local-ja-3-Statistics.db
> DEBUG 10:45:10,743 Renaming
> /var/lib/cassandra/data/system/local/system-local-tmp-ja-3-Filter.db to
> /var/lib/cassandra/data/system/local/system-local-ja-3-Filter.db
> DEBUG 10:45:10,751 Renaming
> /var/lib/cassandra/data/system/local/system-local-tmp-ja-3-Data.db to
> /var/lib/cassandra/data/system/local/system-local-ja-3-Data.db
> INFO 10:45:10,777 Completed flushing
> /var/lib/cassandra/data/system/local/system-local-ja-3-Data.db (118 bytes)
> for commitlog position ReplayPosition(segmentId=1374230697429, position=81544)
> DEBUG 10:45:10,806 adding
> /var/lib/cassandra/data/system/local/system-local-ja-3 to list of files
> tracked for system.local
> DEBUG 10:45:10,812 Scheduling a background task check for system.local with
> SizeTieredCompactionStrategy
> DEBUG 10:45:10,821 Checking system.local
> DEBUG 10:45:10,827 Compaction buckets are
> [[SSTableReader(path='/var/lib/cassandra/data/system/local/system-local-ja-3-Data.db'),
>
> SSTableReader(path='/var/lib/cassandra/data/system/local/system-local-ja-1-Data.db'),
>
> SSTableReader(path='/var/lib/cassandra/data/system/local/system-local-ja-2-Data.db')]]
> #
> DEBUG 10:45:10,831 discard completed log segments for
> ReplayPosition(segmentId=1374230697429, position=81544), column family
> 7ad54392-bcdd-35a6-8417-4e047860b377
> DEBUG 10:45:10,862 Not deleting active commitlog segment
> CommitLogSegment(/var/lib/cassandra/commitlog/CommitLog-3-1374230697429.log)
> DEBUG 10:45:10,868 No tasks available
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGILL (0x4) at pc=0xab80b254, pid=20302, tid=2800444528
> #
> # JRE version: Java(TM) SE Runtime Environment (8.0-b97) (build 1.8.0-ea-b97)
> # Java VM: Java HotSpot(TM) Client VM (25.0-b39 mixed mode linux-arm )
> # Problematic frame:
> # C [snappy-1.0.5-libsnappyjava.so+0x1254] _init+0x223
> #
> # Failed to write core dump. Core dumps have been disabled. To enable core
> dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # //hs_err_pid20302.log
> INFO 10:45:10,905 JOINING: waiting for ring information
> #
> # If you would like to submit a bug report, please visit:
> # http://bugreport.sun.com/bugreport/crash.jsp
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)