You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2016/01/28 09:49:40 UTC
[jira] [Assigned] (CASSANDRA-11085) cassandra-3.3 eclipse-warnings
[ https://issues.apache.org/jira/browse/CASSANDRA-11085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Lerer reassigned CASSANDRA-11085:
------------------------------------------
Assignee: Benjamin Lerer
> 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
>
>
> 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)