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

Daniel Dai resolved PIG-4154.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 0.14.0
         Assignee: Lars Francke
     Hadoop Flags: Reviewed

Nice catch, thanks Lars!

Patch committed to trunk.

> ScriptState#setScript(File) does not close resources
> ----------------------------------------------------
>
>                 Key: PIG-4154
>                 URL: https://issues.apache.org/jira/browse/PIG-4154
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Lars Francke
>            Assignee: Lars Francke
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: PIG-4154.1.patch
>
>
> When calling {{setScript(File)}} it opens two readers and passes them on. 
> Unfortunately it doesn't close them. That means the underlying files are 
> locked until the next run of the Garbage Collector.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to