pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Zhang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-194) Exit code as logged in the task log does not match actual one
Date Sat, 05 Apr 2008 06:01:31 GMT

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

Xu Zhang updated PIG-194:

    Attachment: PigLoggingTest_fp_exception

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

View raw message