cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11085) cassandra-3.3 eclipse-warnings
Date Wed, 24 Feb 2016 20:21:18 GMT

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

Jason Brown commented on CASSANDRA-11085:
-----------------------------------------

+1

> cassandra-3.3 eclipse-warnings
> ------------------------------
>
>                 Key: CASSANDRA-11085
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11085
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Michael Shuler
>            Assignee: Benjamin Lerer
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: 11085-3.3.txt
>
>
> REF = origin/cassandra-3.3 
> COMMIT = 1a31958bfa2adb04ec965e6e2776862eee30ecf4
> {noformat}
> # 1/27/16 9:03:40 PM UTC
> # Eclipse Compiler for Java(TM) v20150120-1634, 3.10.2, Copyright IBM Corp 2000, 2013.
All rights reserved.
> ----------
> 1. ERROR in /var/lib/jenkins/workspace/cassandra-3.3_eclipse-warnings/src/java/org/apache/cassandra/db/compaction/writers/MaxSSTableSizeWriter.java
(at line 86)
> 	SSTableWriter writer = SSTableWriter.create(Descriptor.fromFilename(cfs.getSSTablePath(getDirectories().getLocationForDisk(sstableDirectory))),
> 	              ^^^^^^
> Potential resource leak: 'writer' may not be closed
> ----------
> ----------
> 2. ERROR in /var/lib/jenkins/workspace/cassandra-3.3_eclipse-warnings/src/java/org/apache/cassandra/db/compaction/writers/SplittingSizeTieredCompactionWriter.java
(at line 108)
> 	SSTableWriter writer = SSTableWriter.create(Descriptor.fromFilename(cfs.getSSTablePath(getDirectories().getLocationForDisk(location))),
> 	              ^^^^^^
> Potential resource leak: 'writer' may not be closed
> ----------
> ----------
> 3. ERROR in /var/lib/jenkins/workspace/cassandra-3.3_eclipse-warnings/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
(at line 1073)
> 	SSTableMultiWriter writer = writerIterator.next();
> 	                   ^^^^^^
> Potential resource leak: 'writer' may not be closed
> ----------
> ----------
> 4. ERROR in /var/lib/jenkins/workspace/cassandra-3.3_eclipse-warnings/src/java/org/apache/cassandra/net/OutboundTcpConnectionPool.java
(at line 141)
> 	return channel.socket();
> 	^^^^^^^^^^^^^^^^^^^^^^^^
> Potential resource leak: 'channel' may not be closed at this location
> ----------
> ----------
> 5. ERROR in /var/lib/jenkins/workspace/cassandra-3.3_eclipse-warnings/src/java/org/apache/cassandra/metrics/TableMetrics.java
(at line 335)
> 	return computeCompressionRatio(Iterables.concat(Iterables.transform(Keyspace.all(),
> 	       ^^^^^^^^^^^^^^^^^^^^^^^
> The method computeCompressionRatio(Iterable<SSTableReader>) in the type TableMetrics
is not applicable for the arguments (Iterable<Object>)
> ----------
> ----------
> 6. ERROR in /var/lib/jenkins/workspace/cassandra-3.3_eclipse-warnings/src/java/org/apache/cassandra/hints/CompressedChecksummedDataInput.java
(at line 156)
> 	return builder.build();
> 	^^^^^^^^^^^^^^^^^^^^^^^
> Potential resource leak: '<unassigned Closeable value from line 153>' may not be
closed at this location
> ----------
> 6 problems (6 errors)
> {noformat}
> Check latest build on http://cassci.datastax.com/job/cassandra-3.3_eclipse-warnings/
for the most current warnings



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

Mime
View raw message