You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2012/07/30 18:35:36 UTC

[jira] [Commented] (HIVE-3317) Fix “TestDosToUnix” unit tests on Windows by closing the leaking file handle in DosToUnix.java.

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

Edward Capriolo commented on HIVE-3317:
---------------------------------------

+1 will commit. Yikes just crazy to see something like this.
                
> Fix “TestDosToUnix” unit tests on Windows by closing the leaking file handle in DosToUnix.java.
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3317
>                 URL: https://issues.apache.org/jira/browse/HIVE-3317
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Import/Export, Windows
>    Affects Versions: 0.10.0, 0.9.1
>         Environment: Windows
>            Reporter: Kanna Karanam
>            Assignee: Kanna Karanam
>              Labels: Windows
>             Fix For: 0.10.0, 0.9.1
>
>         Attachments: HIVE-3317.1.patch.txt
>
>
> Windows can’t delete the files if there are any open file handles on it so it is required to close them properly after completing the validation in DosToUnix utilities.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira