hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1414) Problem with parameter substitution
Date Thu, 13 May 2010 20:58:43 GMT

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

Olga Natkovich commented on PIG-1414:
-------------------------------------

+1

> 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