hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1391) pig unit tests leave behind files in temp directory because MiniCluster files don't get deleted
Date Wed, 05 May 2010 23:18:03 GMT

    [ https://issues.apache.org/jira/browse/PIG-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864577#action_12864577
] 

Daniel Dai commented on PIG-1391:
---------------------------------

Recommend to change two things:
1. remove ${junit.tmp.dir} after unit test targets in build.xml
2. remove fixes for zebra test case in this patch, it seems to be an irrelevant change.

Other part are good. Please commit after the above two changes.

> pig unit tests leave behind files in temp directory because MiniCluster files don't get
deleted
> -----------------------------------------------------------------------------------------------
>
>                 Key: PIG-1391
>                 URL: https://issues.apache.org/jira/browse/PIG-1391
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.7.0, 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.6.0, 0.7.0, 0.8.0
>
>         Attachments: minicluster.patch, PIG-1391.06.2.patch, PIG-1391.06.patch, PIG-1391.07.patch,
PIG-1391.trunk.patch
>
>
> Pig unit test runs leave behind files in temp dir (/tmp) and there are too many files
in the directory over time.
> Most of the files are left behind by MiniCluster . It closes/shutsdown MiniDFSCluster,
MiniMRCluster and the FileSystem that it has created when the constructor is called, only
in finalize(). And java does not guarantee that finalize() will be called. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message