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

Gianmarco De Francisci Morales commented on PIG-2326:
-----------------------------------------------------

bq. This makes unit testing hard as we cannot just pass Properties to PigServer 
and use the "Hadoop local" mode for tests. Tests step on each other through the 
config file.

Hi Julien,
can we simply delete hadoop-site.xml in shutdownMiniMrClusters(), so that 
MiniCluster is "self contained"?
Would that solve the issue?
                
> Pig minicluster tests can not be run from eclipse
> -------------------------------------------------
>
>                 Key: PIG-2326
>                 URL: https://issues.apache.org/jira/browse/PIG-2326
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Julien Le Dem
>            Assignee: Julien Le Dem
>            Priority: Minor
>         Attachments: PIG-2326.patch, PIG-2326_a.patch, PIG-2326_b.patch
>
>
> Some of the setup of the minicluster tests are in the ant config hence they 
> don't run in eclipse.
> In particular:
> System.setProperty("hadoop.log.dir", "build/test/logs");
> hadoop-site.xml in the classpath

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

        

Reply via email to