Eugene Koifman created HIVE-12425: ------------------------------------- Summary: OrcRecordUpdater.close(true) leaves the file open Key: HIVE-12425 URL: https://issues.apache.org/jira/browse/HIVE-12425 Project: Hive Issue Type: Bug Components: ORC, Transactions Affects Versions: 1.0.0 Reporter: Eugene Koifman Assignee: Eugene Koifman
{noformat} public void close(boolean abort) throws IOException { if (abort) { if (flushLengths == null) { fs.delete(path, false); } } else { if (writer != null) writer.close(); } if (flushLengths != null) { flushLengths.close(); fs.delete(getSideFile(path), false); } writer = null; } {noformat} While the assumption is that the last txn writing to this file to commit would have called flush(), this still leaves the file open. cc [~owen.omalley] -- This message was sent by Atlassian JIRA (v6.3.4#6332)