You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2018/02/28 22:33:00 UTC
[jira] [Created] (ORC-309) WriterImpl.close() calls WriterCallback
methods out of order
Eugene Koifman created ORC-309:
----------------------------------
Summary: WriterImpl.close() calls WriterCallback methods out of order
Key: ORC-309
URL: https://issues.apache.org/jira/browse/ORC-309
Project: ORC
Issue Type: Bug
Reporter: Eugene Koifman
}}org.apache.orc.impl.WriterImpl}}
{noformat}
@Override
public void close() throws IOException {
if (callback != null) {
callback.preFooterWrite(callbackContext);
}
// remove us from the memory manager so that we don't get any callbacks
memoryManager.removeWriter(path);
// actually close the file
flushStripe();
lastFlushOffset = writeFooter();
physicalWriter.close();
}
{noformat}
so this causes preFooterWrite() to be called before {{preStripeWrite()}} from {{flushStripe()}}.
HIVE-18817 is one place where this shows up
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)