You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by Apache Wiki <wi...@apache.org> on 2009/07/08 19:09:08 UTC
[Pig Wiki] Update of "PigErrorHandlingFunctionalSpecification" by
BenjaminReed
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.
The following page has been changed by BenjaminReed:
http://wiki.apache.org/pig/PigErrorHandlingFunctionalSpecification
The comment on the change is:
Added handle errors column to the error table. Added instructions for error 2056
------------------------------------------------------------------------------
1. -wagg to turn on warning aggregation; by default warning aggregation is turned off.
2. -v to include printing error messages on screen; by default error messages will be written to client side log. Using -v will also print the messages on the screen
- 3. -l directory where the client side log is stored; by default, logs will be stored in the current working directory and named pig_<datestamp>.log. When used in batch mode (i.e., when a script to be executed is provided), the log file name will also contain the name of the script - pig_<datestam>_<pig_file>.log.
+ 3. [[Anchor(clientSideLog)]]-l directory where the client side log is stored; by default, logs will be stored in the current working directory and named pig_<datestamp>.log. When used in batch mode (i.e., when a script to be executed is provided), the log file name will also contain the name of the script - pig_<datestam>_<pig_file>.log.
== Compendium of error messages ==
A list of possible error messages is listed below. This list is not comprehensive and will be modified to reflect the true error message along with the error code.
- ||'''Error Code'''||'''Error Message'''||
+ ||'''Error Code'''||'''Error Message'''||'''How to Handle'''||
||1000||Error during parsing||
||1001||Unable to descirbe schema for alias <alias>||
||1002||Unable to store alias <id>||
@@ -256, +256 @@
||2053||Internal error. Did not find roots in the physical plan.||
||2054||Internal error. Could not convert <object> to <Integer/Long/Float/Double/Tuple/Bag/Map>||
||2055||Did not find exception name to create exception from string: <string> ||
- ||2056||Cannot create exception from empty string.||
+ ||2056||Cannot create exception from empty string.||Pig could not find an exception in the error messages from Hadoop, examine the [#clideSideLog client log] to find more information.||
||2057||Did not find fully qualified method name to reconstruct stack trace: <line> ||
||2058||Unable to set index on the newly created POLocalRearrange.||
||2059||Problem with inserting cast operator for <regular expression/binary conditional/unary operator/user defined function/fragment replicate join/cogroup/project/<operator>> in plan.||