[
https://issues.apache.org/jira/browse/PIG-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223231#comment-14223231
]
Daniel Dai commented on PIG-4342:
---------------------------------
Here is the stack:
{code}
ERROR 2999: Unexpected internal error. Pig Internal Error. Invalid preprocessor
command specified : %DEFAULT
java.lang.IllegalArgumentException: Pig Internal Error. Invalid preprocessor
command specified : %DEFAULT
at
org.apache.pig.tools.parameters.PreprocessorContext.validate(PreprocessorContext.java:163)
at
org.apache.pig.tools.parameters.PigFileParser.input(PigFileParser.java:62)
at
org.apache.pig.tools.parameters.PigFileParser.Parse(PigFileParser.java:43)
at
org.apache.pig.tools.parameters.ParameterSubstitutionPreprocessor.parsePigFile(ParameterSubstitutionPreprocessor.java:95)
at
org.apache.pig.tools.parameters.ParameterSubstitutionPreprocessor.genSubstitutedFile(ParameterSubstitutionPreprocessor.java:76)
at
org.apache.pig.impl.PigContext.doParamSubstitution(PigContext.java:410)
at org.apache.pig.Main.runParamPreprocessor(Main.java:810)
at org.apache.pig.Main.run(Main.java:588)
at org.apache.pig.Main.main(Main.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
{code}
> Pig 0.14 cannot identify the uppercase of DECLARE and DEFAULT
> -------------------------------------------------------------
>
> Key: PIG-4342
> URL: https://issues.apache.org/jira/browse/PIG-4342
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.14.0
> Reporter: Rohini Palaniswamy
> Fix For: 0.14.1
>
>
> One of the users encountered
> {code}
> Unexpected internal error. Pig Internal Error. Invalid preprocessor command
> specified : %DECLARE
> {code}
> Changing the %DECLARE to %declare, it can pass the preprocessor's
> operations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)