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

Daniel Dai commented on PIG-2326:
---------------------------------

For some background of hadoop-site.xml checking in mapreduce mode, if not doing 
that, Pig would launch normally but into an inconsistent state, some command 
will run as if it is in local mode, and some command will fail. To avoid that, 
we mandate the existence of hadoop-site.xml in mapreduce mode.
                
> 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