[ 
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

Reply via email to