[ https://issues.apache.org/jira/browse/PIG-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johannes Schwenk updated PIG-2729: ---------------------------------- Attachment: PIG-2729.patch Hi Rohini, thank you very much for your comments! I am still new to the project so some things slip my attention - your advice and patience are much appreciated! I attached the new patch incorporating your corrections. Could you take a look again? On a side note: Do you know what is the matter with reviews.apache.org? I still always get the "Error 500" message when I try to submit my patch for review. Thanks! > Macro expansion does not use pig.import.search.path - UnitTest borked > --------------------------------------------------------------------- > > Key: PIG-2729 > URL: https://issues.apache.org/jira/browse/PIG-2729 > Project: Pig > Issue Type: Bug > Affects Versions: 0.9.2, 0.10.0 > Environment: pig-0.9.2 and pig-0.10.0, hadoop-0.20.2 from Clouderas > distribution cdh3u3 on Kubuntu 12.04 64Bit. > Reporter: Johannes Schwenk > Fix For: 0.10.0 > > Attachments: PIG-2729.patch, PIG-2729.patch, PIG-2729.patch, > test-macros.tar.gz, use-search-path-for-imports.patch > > > org.apache.pig.test.TestMacroExpansion, in function importUsingSearchPathTest > the import statement is provided with the full path to /tmp/mytest2.pig so > the pig.import.search.path is never used. I changed the import to > import 'mytest2.pig'; > and ran the UnitTest again. This time the test failed as expected from my > experience from earlier this day trying in vain to get pig eat my > pig.import.search.path property! Other properties in the same custom > properties file (provided via -propertyFile command line option) like > udf.import.list get read without any problem. -- 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