[ https://issues.apache.org/jira/browse/HIVE-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-4250: ------------------------------ Attachment: HIVE-4250.D9807.1.patch omalley requested code review of "HIVE-4250 [jira] Closing lots of RecordWriters is slow". Reviewers: JIRA add threadpool for close writers In FileSinkOperator, all of the RecordWriters are closed sequentially. For queries with a lot of dynamic partitions this can add substantially to the task time. For one query in particular, after processing all of the records in a few minutes the reduces spend 15 minutes closing all of the RC files. TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D9807 AFFECTED FILES ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java MANAGE HERALD RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/23415/ To: JIRA, omalley > Closing lots of RecordWriters is slow > ------------------------------------- > > Key: HIVE-4250 > URL: https://issues.apache.org/jira/browse/HIVE-4250 > Project: Hive > Issue Type: New Feature > Components: Serializers/Deserializers > Reporter: Owen O'Malley > Assignee: Owen O'Malley > Attachments: HIVE-4250.D9807.1.patch > > > In FileSinkOperator, all of the RecordWriters are closed sequentially. For > queries with a lot of dynamic partitions this can add substantially to the > task time. For one query in particular, after processing all of the records > in a few minutes the reduces spend 15 minutes closing all of the RC files. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira