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

Arun C Murthy reassigned PIG-194:
---------------------------------

    Assignee: Arun C Murthy

> Exit code as logged in the task log does not match actual one 
> --------------------------------------------------------------
>
>                 Key: PIG-194
>                 URL: https://issues.apache.org/jira/browse/PIG-194
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Xu Zhang
>            Assignee: Arun C Murthy
>         Attachments: PigLoggingTest_fp_exception
>
>
> The actually exit code of PigLoggingTest_fp_exception when it is executed 
> from the shell command line is 136 (run the executable and then get the exit 
> code with "echo $?" on the command line).  However, if a Pig script like the 
> following is run, the task logs as shown in the task's UI incorrectly list 
> the exit code as -127.  
> {code}
> define X `PigLoggingTest_fp_exception 10 f` 
> ship('./cplusplus/PigLoggingTest_fp_exception');
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = stream A through X;
> store B into 'results_n_30';
> {code}

-- 
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