[ https://issues.apache.org/jira/browse/PIG-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Ding resolved PIG-1414. ------------------------------- Hadoop Flags: [Reviewed] Fix Version/s: 0.8.0 Resolution: Fixed This patch fixed the failed unit tests due to parameter substitution. > Problem with parameter substitution > ----------------------------------- > > Key: PIG-1414 > URL: https://issues.apache.org/jira/browse/PIG-1414 > Project: Pig > Issue Type: Bug > Reporter: Richard Ding > Assignee: Richard Ding > Fix For: 0.8.0 > > Attachments: PIG-1414.patch > > > The following script: > {code} > L = load 'input'; > store L into 'output' using MyClass$StorerAsInnerClass(); > {code} > causes Pig to fail with this error message: > {code} > ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Undefined > parameter : StorerAsInnerClass > java.lang.RuntimeException: Undefined parameter : StorerAsInnerClass > at > org.apache.pig.tools.parameters.PreprocessorContext.substitute(PreprocessorContext.java:232) > at > org.apache.pig.tools.parameters.PigFileParser.input(PigFileParser.java:60) > at > org.apache.pig.tools.parameters.PigFileParser.Parse(PigFileParser.java:42) > at > org.apache.pig.tools.parameters.ParameterSubstitutionPreprocessor.parsePigFile(ParameterSubstitutionPreprocessor.java:105) > at > org.apache.pig.tools.parameters.ParameterSubstitutionPreprocessor.genSubstitutedFile(ParameterSubstitutionPreprocessor.java:98) > at org.apache.pig.Main.runParamPreprocessor(Main.java:576) > at org.apache.pig.Main.main(Main.java:418) > {code} > even though no parameter substitution is specified from the command line. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.