hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venki Korukanti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4978) [WebHCat] Close the PrintWriter after writing data
Date Tue, 20 Aug 2013 17:38:52 GMT

    [ https://issues.apache.org/jira/browse/HIVE-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13745178#comment-13745178
] 

Venki Korukanti commented on HIVE-4978:
---------------------------------------

Modified the patch to close only if the out stream is not a standard stream.
                
> [WebHCat] Close the PrintWriter after writing data
> --------------------------------------------------
>
>                 Key: HIVE-4978
>                 URL: https://issues.apache.org/jira/browse/HIVE-4978
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 0.11.0
>            Reporter: Venki Korukanti
>            Priority: Minor
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4978-1.patch, HIVE-4978-2.patch
>
>
> We are not closing the PrintWriter after writing data into it. I haven't seen any problems
so far, but it is good to close the PrintWriter so that resources are released properly.

--
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

Mime
View raw message