[ https://issues.apache.org/jira/browse/PIG-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175438#comment-13175438 ]
Gianmarco De Francisci Morales commented on PIG-2326: ----------------------------------------------------- Now that I think of it, this makes the tests run through eclipse slightly different from the ones run using ant. This could generate confusion. I would also change build.xml (also in piggybank and penny) to reference hadoop-site.xml from build/classes: {code} ./build.xml: <property name="junit.hadoop.conf" value="${user.home}/pigtest/conf/"/> ./contrib/piggybank/java/build.xml: <property name="junit.hadoop.conf" value="${user.home}/pigtest/conf/"/> ./contrib/penny/java/build.xml: <property name="junit.hadoop.conf" value="${user.home}/pigtest/conf/"/> {code} And also change the docs: {code} ./src/docs/src/documentation/content/xdocs/pigunit.xml: The default value is ~/pigtest/conf. ./src/docs/src/documentation/content/xdocs/test.xml: The default value is ~/pigtest/conf. {code} > 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 > > > 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