You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/08/07 20:25:48 UTC

[jira] [Commented] (CASSANDRA-5777) Crash if internode compression is on

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

Jonathan Ellis commented on CASSANDRA-5777:
-------------------------------------------

This looks to me like a bug in snappy.  If you can figure out a way to isolate it, reporting it to them might help.

Otherwise, all we can do Cassandra-side is detect ARM somehow and disable inter-node compression by default.
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira