Christopher Tubbs created ACCUMULO-4816: -------------------------------------------
Summary: DfsLogger.readHeaderAndReturnStream should return a Closeable Key: ACCUMULO-4816 URL: https://issues.apache.org/jira/browse/ACCUMULO-4816 Project: Accumulo Issue Type: Improvement Affects Versions: 2.0.0 Reporter: Christopher Tubbs With the change in https://github.com/apache/accumulo/pull/369, it reveals that there's a possible unclosed resource hidden in the object returned from DfsLogger.readHeaderAndReturnStream. This should return something which is a Closeable, so it can be used in a try-with-resources block and cleaned up properly just in case the extra stream allocates additional resources which need to be closed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)