[BBG-137068] New Ticket: [jira] [Updated] (CASSANDRA-9120) OutOfMemoryError when read auto-saved cache (probably broken)

2015-04-11 Thread support
Reply above this line

 (dev@cassandra.apache.org) said:


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-9120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Jirsa updated CASSANDRA-9120:
--
Assignee: (was: Jeff Jirsa)

> OutOfMemoryError when read auto-saved cache (probably broken)
> -
>
> Key: CASSANDRA-9120
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9120
> Project: Cassandra
>  Issue Type: Bug
> Environment: Linux
>Reporter: Vladimir
> Fix For: 3.0, 2.0.15, 2.1.5
>
>
> Found during tests on a 100 nodes cluster. After restart I found that one 
> node constantly crashes with OutOfMemory Exception. I guess that auto-saved 
> cache was corrupted and Cassandra can't recognize it. I see that similar 
> issues was already fixed (when negative size of some structure was read). 
> Does auto-saved cache have checksum? it'd help to reject corrupted cache at 
> the very beginning.
> As far as I can see current code still have that problem. Stack trace is:
> {code}
> INFO [main] 2015-03-28 01:04:13,503 AutoSavingCache.java (line 114) reading 
> saved cache 
> /storage/core/loginsight/cidata/cassandra/saved_caches/system-sstable_activity-KeyCache-b.db
> ERROR [main] 2015-03-28 01:04:14,718 CassandraDaemon.java (line 513) 
> Exception encountered during startup
> java.lang.OutOfMemoryError: Java heap space
> at java.util.ArrayList.(Unknown Source)
> at 
> org.apache.cassandra.db.RowIndexEntry$Serializer.deserialize(RowIndexEntry.java:120)
> at 
> org.apache.cassandra.service.CacheService$KeyCacheSerializer.deserialize(CacheService.java:365)
> at 
> org.apache.cassandra.cache.AutoSavingCache.loadSaved(AutoSavingCache.java:119)
> at 
> org.apache.cassandra.db.ColumnFamilyStore.(ColumnFamilyStore.java:262)
> at 
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:421)
> at 
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:392)
> at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:315)
> at org.apache.cassandra.db.Keyspace.(Keyspace.java:272)
> at org.apache.cassandra.db.Keyspace.open(Keyspace.java:114)
> at org.apache.cassandra.db.Keyspace.open(Keyspace.java:92)
> at 
> org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:536)
> at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:261)
> at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:496)
> at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:585)
> {code}
> I looked at source code of Cassandra and see:
> http://grepcode.com/file/repo1.maven.org/maven2/org.apache.cassandra/cassandra-all/2.0.10/org/apache/cassandra/db/RowIndexEntry.java
> 119 int entries = in.readInt();
> 120 List columnsIndex = new ArrayList(entries);
> It seems that value entries is invalid (negative) and it tries too allocate 
> an array with huge initial capacity and hits OOM. I have deleted saved_cache 
> directory and was able to start node correctly. We should expect that it may 
> happen in real world. Cassandra should be able to skip incorrect cached data 
> and run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
==

Your Blue Box support ticket can be viewed here:
https://support.bluebox.net/tickets/137068

For urgent issues (system down, service outage), open the link above and click 
Escalate, or call Blue Box Support at 1-800-613-4305 ext 1.

Thank You,

The Blue Box Support Team


Re: GSoD 2022 clarification requested

2022-03-10 Thread Season of Docs Support
Thank you for reaching out, Deepak.

If you don’t have a bank account for your project, you can sign up with
Open Source Collective to be your fiscal host, which means they will hold
the funds on your behalf as you pay them out. No fees from Open Source
Collective will apply to your grant payment.  You can find more information
on grants and opening an Open Collective account here
 or email
Open Collective directly for more information through
supp...@opencollective.com.

Regarding technical writers, please review the selecting a technical writer

guide and our GitHub  page.

Best,
Season of Docs team

On Wed, Mar 9, 2022 at 6:17 PM Deepak Vohra  wrote:

> Google program administrator
>
> Apache Cassandra, an open source project under Apache Software Foundation
> (ASF), and a GSoD 2019-20 participant,  might be interested in applying as
> an organization to GSoD 2022. Apache Cassandra mainly does code development
> and documentation and is not structured for the administrative tasks of
> collecting a GSoD grant if accepted, hiring technical writer/s, and
> disbursing grant funds.
>
> How could Apache Cassandra apply as an organization?
>
> thanks,
> Deepak
>
> --
> You received this message because you are subscribed to the Google Groups
> "Season of Docs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to season-of-docs+unsubscr...@google.com.
> To view this discussion on the web visit
> https://groups.google.com/a/google.com/d/msgid/season-of-docs/CADLXuaTBSOV5prc-TCbSCnncTBDBvwE104JAHk_6DOta4GLt%3Dg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/a/google.com/d/optout.
>


Re: GSoD 2022 clarification requested

2022-03-10 Thread Season of Docs Support
Thank you for reaching out, Deepak.

If you don’t have a bank account for your project, you can sign up with
Open Source Collective to be your fiscal host, which means they will hold
the funds on your behalf as you pay them out. No fees from Open Source
Collective will apply to your grant payment.  You can find more information
on grants and opening an Open Collective account here
 or email
Open Collective directly for more information through
supp...@opencollective.com.

Regarding technical writers, please review the selecting a technical writer

guide
and our GitHub  page.

Best,
Season of Docs team

On Wed, Mar 9, 2022 at 6:22 PM 'Deepak Vohra' via Season of Docs <
season-of-d...@google.com> wrote:

> Google program administrator
>
> Apache Cassandra, an open source project under Apache Software Foundation
> (ASF), and a GSoD 2019-20 participant,  might be interested in applying as
> an organization to GSoD 2022. Apache Cassandra mainly does code development
> and documentation and is not structured for the administrative tasks of
> collecting a GSoD grant if accepted, hiring technical writer/s, and
> disbursing grant funds.
>
> How could Apache Cassandra apply as an organization?
>
> thanks,
> Deepak
>
> --
> You received this message because you are subscribed to the Google Groups
> "Season of Docs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to season-of-docs+unsubscr...@google.com.
> To view this discussion on the web visit
> https://groups.google.com/a/google.com/d/msgid/season-of-docs/1579576444.248859.1646878929164%40mail.yahoo.com
> 
> .
> For more options, visit https://groups.google.com/a/google.com/d/optout.
>