Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
REF = origin/cassandra-3.3
COMMIT = 1a31958bfa2adb04ec965e6e2776862eee30ecf4
# 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)
Check latest build on http://cassci.datastax.com/job/cassandra-3.3_eclipse-warnings/ for the most current warnings