You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/06/12 00:06:45 UTC

[jira] Created: (PIG-264) inconsistent return from Main

inconsistent return from Main
-----------------------------

                 Key: PIG-264
                 URL: https://issues.apache.org/jira/browse/PIG-264
             Project: Pig
          Issue Type: Bug
            Reporter: Olga Natkovich


Main uses value of 0 or 1 in rc variable to indicate success or failure of the program. It does not seemed to be consistently set for both success and faulire situations. As the result, the return code is not very useful in determining whether the program succeeded or failed.

Main.java needs to be examined and cleaned up to resolve this issue.

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


[jira] Commented: (PIG-264) inconsistent return from Main

Posted by "Amir Youssefi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618007#action_12618007 ] 

Amir Youssefi commented on PIG-264:
-----------------------------------

Any update on the issue? This has come up frequently and is very useful in job chaining. Work-arounds are cumbersome and some are not full-proof.

> inconsistent return from Main
> -----------------------------
>
>                 Key: PIG-264
>                 URL: https://issues.apache.org/jira/browse/PIG-264
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>
> Main uses value of 0 or 1 in rc variable to indicate success or failure of the program. It does not seemed to be consistently set for both success and faulire situations. As the result, the return code is not very useful in determining whether the program succeeded or failed.
> Main.java needs to be examined and cleaned up to resolve this issue.

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