You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2012/09/12 07:04:09 UTC

[jira] [Commented] (PIG-2913) org.apache.pig.test.TestPigServerWithMacros fails sometimes because it picks up previous minicluster configuration file

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

Rohini Palaniswamy commented on PIG-2913:
-----------------------------------------

Julien,
 The name testRegisterRemoteMacro was confusing when all it does was registering a macro from local filesystem while one would expect a testcase for s3 or hdfs imports. So looked up the history of the test case. As suspected, it was added in PIG-2565 for picking the macro from a hdfs file. With the refactor done in PIG-2866 when macro tests in TestPigServer were moved to TestPigServerWithMacros, it became local FS instead of HDFS and the intent of the test case was lost. Could you make it a MiniCluster instead of new Configuration(false)?
                
> org.apache.pig.test.TestPigServerWithMacros fails sometimes because it picks up previous minicluster configuration file
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-2913
>                 URL: https://issues.apache.org/jira/browse/PIG-2913
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Julien Le Dem
>            Assignee: Julien Le Dem
>         Attachments: PIG-2913.patch
>
>


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