You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2013/02/20 20:51:15 UTC

[jira] [Commented] (PIG-3200) MiniCluster should delete hadoop-site.xml on shutDown

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

Cheolsoo Park commented on PIG-3200:
------------------------------------

Can you do the same in hadoop23 shim?
                
> MiniCluster should delete hadoop-site.xml on shutDown
> -----------------------------------------------------
>
>                 Key: PIG-3200
>                 URL: https://issues.apache.org/jira/browse/PIG-3200
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Prashant Kommireddi
>            Assignee: Prashant Kommireddi
>              Labels: test
>             Fix For: 0.12
>
>         Attachments: PIG-3200.patch
>
>
> MiniCluster creates hadoop-site.xml under build/classes which is used by Pig tests in creating a (mini) hadoop cluster to run against. 
> MiniCluster.buildCluster() deletes this file from previous run before re-generating it. However, this config file is not deleted when mini-cluster is shutdown. This can sometimes lead to unpredictable behavior when hadoop-site.xml is not expected on classpath (See PIG-3135). 
> The cleanest operation would be to delete this file when the mini-cluster is shutdown.
> Here is a more detailed explanation of the issue 
> https://issues.apache.org/jira/browse/PIG-3135?focusedCommentId=13581825&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13581825

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