hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Ding (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1414) Problem with parameter substitution
Date Wed, 12 May 2010 22:46:43 GMT

     [ https://issues.apache.org/jira/browse/PIG-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard Ding updated PIG-1414:
------------------------------

    Attachment: PIG-1414.patch

Patch to fix unit test failures due to problem with 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
>         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.


Mime
View raw message