Santhosh Srinivasan commented on PIG-728:

In addition, when the framework is not able to parse the error message, the 
message should be annotated as such. Extraneous details like "Unable to 
recreate exception", "Cannot create exception from empty string", etc should 
not be communicated to the user. These messages reflect internal workings of 
the error handling framework and do not add value to the user.

> All backend error messages must be logged to preserve the original error 
> messages
> ---------------------------------------------------------------------------------
>                 Key: PIG-728
>                 URL: https://issues.apache.org/jira/browse/PIG-728
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.1
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: 0.2.1
> The current error handling framework logs backend error messages only when 
> Pig is not able to parse the error message. Instead, Pig should log the 
> backend error message irrespective of Pig's ability to parse backend error 
> messages. On a side note, the use of instantiateFuncFromSpec in Launcher.java 
> is not consistent and should avoid the use of class_name + "(" + 
> string_constructor_args + ")".

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to