You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Marton Bod (Jira)" <ji...@apache.org> on 2021/11/26 13:12:00 UTC
[jira] [Created] (HIVE-25741) HiveProtoLoggingHook EventLogger should always close old writer
Marton Bod created HIVE-25741:
---------------------------------
Summary: HiveProtoLoggingHook EventLogger should always close old writer
Key: HIVE-25741
URL: https://issues.apache.org/jira/browse/HIVE-25741
Project: Hive
Issue Type: Bug
Reporter: Marton Bod
Assignee: Marton Bod
If {{hive.hook.proto.file.per.event=true}} (recommended for S3A filesystem), the Hive proto {{EventLogger}} will create a new file for each proto event. However, if we already had an appropriate writer (i.e. maybeRolloverWriterForDay() returns false) from some previous operation - we don't close the previous writer instance before creating a new one.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)