You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Pravin Sinha (Jira)" <ji...@apache.org> on 2021/12/03 08:59:00 UTC

[jira] [Resolved] (HIVE-25742) Fix WriteOutput in Utils for Replication

     [ https://issues.apache.org/jira/browse/HIVE-25742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pravin Sinha resolved HIVE-25742.
---------------------------------
    Resolution: Fixed

Committed to master !!!

Thanks for the patch, [~ayushtkn]  !!!

> Fix WriteOutput in Utils for Replication
> ----------------------------------------
>
>                 Key: HIVE-25742
>                 URL: https://issues.apache.org/jira/browse/HIVE-25742
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The present implementation uses {{IOUtils.closeStream(outStream);}} which eats up any exception while closing the file, hence falsely conveying the file has been successfully written in case there are any failures during flushing of data during close or any other exception while concluding the file.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)