cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6832) File handle leak in StreamWriter.java
Date Thu, 13 Mar 2014 18:15:52 GMT

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

Jonathan Ellis commented on CASSANDRA-6832:
-------------------------------------------

committed to 2.0.7 (assuming it doesn't affect 1.2)

> File handle leak in StreamWriter.java
> -------------------------------------
>
>                 Key: CASSANDRA-6832
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6832
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Windows, 2.0.5, leakdetect patch
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Minor
>             Fix For: 2.0.7
>
>         Attachments: 6832_v1.patch
>
>
> Reference CASSANDRA-6283 where this first came up.  nodetool.bat repair -par on 2.0.5
pops up the following stack:
> ERROR [Finalizer] 2014-02-17 09:21:52,922 RandomAccessReader.java (line 399) LEAK finalizer
had to clean up
> java.lang.Exception: RAR for C:\var\lib\cassandra\data\Keyspace1\Standard1\Keyspace1-Standard1-jb-41-CRC.db
allocated
>         at org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:66)
>         at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:106)
>         at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:98)
>         at org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator.<init>(DataIntegrityMetadata.java:53)
>         at org.apache.cassandra.io.util.DataIntegrityMetadata.checksumValidator(DataIntegrityMetadata.java:40)
>         at org.apache.cassandra.streaming.StreamWriter.write(StreamWriter.java:76)
>         at org.apache.cassandra.streaming.messages.OutgoingFileMessage$1.serialize(OutgoingFileMessage.java:59)
>         at org.apache.cassandra.streaming.messages.OutgoingFileMessage$1.serialize(OutgoingFileMessage.java:42)
>         at org.apache.cassandra.streaming.messages.StreamMessage.serialize(StreamMessage.java:45)
>         at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.sendMessage(ConnectionHandler.java:383)
>         at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.run(ConnectionHandler.java:355)
>         at java.lang.Thread.run(Thread.java:744)
> This leak doesn't look like it's breaking anything but is still worth fixing.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message