Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2049

Pig should display TokenMgrError message consistently across all parsers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • None
    • None
    • Reviewed

    Description

      For example, for org.apache.pig.tools.pigscript.parser.TokenMgrError, Pig logs

      ERROR 1000: Error during parsing. Lexical error at line 5, column 0.
      

      But for org.apache.pig.tools.parameters.TokenMgrError, Pig logs

      ERROR 2998: Unhandled internal error. Lexical error at line 10, column 0.
      

      Both should have error code 1000.

      Attachments

        1. PIG-2049.patch
          0.9 kB
          Richard Ding

        Activity

          People

            rding Richard Ding
            rding Richard Ding
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: