You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Richard Ding (JIRA)" <ji...@apache.org> on 2011/05/07 00:54:03 UTC

[jira] [Resolved] (PIG-2049) Pig should display TokenMgrError message consistently across all parsers

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

Richard Ding resolved PIG-2049.
-------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Patch committed to trunk and 0.9 branch.

> Pig should display TokenMgrError message consistently across all parsers
> ------------------------------------------------------------------------
>
>                 Key: PIG-2049
>                 URL: https://issues.apache.org/jira/browse/PIG-2049
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>            Assignee: Richard Ding
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: PIG-2049.patch
>
>
> For example, for org.apache.pig.tools.pigscript.parser.TokenMgrError, Pig logs
> {code}
> ERROR 1000: Error during parsing. Lexical error at line 5, column 0.
> {code}
> But for org.apache.pig.tools.parameters.TokenMgrError, Pig logs
> {code}
> ERROR 2998: Unhandled internal error. Lexical error at line 10, column 0.
> {code}
> Both should have error code 1000.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira