You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Justin Hu (JIRA)" <ji...@apache.org> on 2010/07/28 20:54:23 UTC

[jira] Created: (PIG-1522) Pig return code for dryrun

Pig return code for dryrun
--------------------------

                 Key: PIG-1522
                 URL: https://issues.apache.org/jira/browse/PIG-1522
             Project: Pig
          Issue Type: Improvement
    Affects Versions: 0.7.0, 0.6.0
            Reporter: Justin Hu


Pig returns 1 for dryrun with the message:

"Dry run completed. Substituted pig script is at ..."

Some users are confused by the code "1", which usually indicate an error of the operation.  Because the dryrun is completed successfully, users expect "0".

The Pig Error Handling doesn't specify the code for dryrun.  It may make sense to return "0" for successful dryrun, or explain it in the document. 
 

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


[jira] Commented: (PIG-1522) Pig return code for dryrun

Posted by "Richard Ding (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893338#action_12893338 ] 

Richard Ding commented on PIG-1522:
-----------------------------------

This has been fixed on trunk (will be in 0.8).

> Pig return code for dryrun
> --------------------------
>
>                 Key: PIG-1522
>                 URL: https://issues.apache.org/jira/browse/PIG-1522
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.6.0, 0.7.0
>            Reporter: Justin Hu
>
> Pig returns 1 for dryrun with the message:
> "Dry run completed. Substituted pig script is at ..."
> Some users are confused by the code "1", which usually indicate an error of the operation.  Because the dryrun is completed successfully, users expect "0".
> The Pig Error Handling doesn't specify the code for dryrun.  It may make sense to return "0" for successful dryrun, or explain it in the document. 
>  

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


[jira] Updated: (PIG-1522) Pig return code for dryrun

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-1522:
--------------------------------

    Priority: Trivial  (was: Major)

> Pig return code for dryrun
> --------------------------
>
>                 Key: PIG-1522
>                 URL: https://issues.apache.org/jira/browse/PIG-1522
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.6.0, 0.7.0
>            Reporter: Justin Hu
>            Priority: Trivial
>
> Pig returns 1 for dryrun with the message:
> "Dry run completed. Substituted pig script is at ..."
> Some users are confused by the code "1", which usually indicate an error of the operation.  Because the dryrun is completed successfully, users expect "0".
> The Pig Error Handling doesn't specify the code for dryrun.  It may make sense to return "0" for successful dryrun, or explain it in the document. 
>  

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


[jira] Resolved: (PIG-1522) Pig return code for dryrun

Posted by "Richard Ding (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Ding resolved PIG-1522.
-------------------------------

    Fix Version/s: 0.8.0
       Resolution: Fixed

> Pig return code for dryrun
> --------------------------
>
>                 Key: PIG-1522
>                 URL: https://issues.apache.org/jira/browse/PIG-1522
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.6.0, 0.7.0
>            Reporter: Justin Hu
>            Priority: Trivial
>             Fix For: 0.8.0
>
>
> Pig returns 1 for dryrun with the message:
> "Dry run completed. Substituted pig script is at ..."
> Some users are confused by the code "1", which usually indicate an error of the operation.  Because the dryrun is completed successfully, users expect "0".
> The Pig Error Handling doesn't specify the code for dryrun.  It may make sense to return "0" for successful dryrun, or explain it in the document. 
>  

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


[jira] Assigned: (PIG-1522) Pig return code for dryrun

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich reassigned PIG-1522:
-----------------------------------

    Assignee: Richard Ding

> Pig return code for dryrun
> --------------------------
>
>                 Key: PIG-1522
>                 URL: https://issues.apache.org/jira/browse/PIG-1522
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.6.0, 0.7.0
>            Reporter: Justin Hu
>            Assignee: Richard Ding
>            Priority: Trivial
>             Fix For: 0.8.0
>
>
> Pig returns 1 for dryrun with the message:
> "Dry run completed. Substituted pig script is at ..."
> Some users are confused by the code "1", which usually indicate an error of the operation.  Because the dryrun is completed successfully, users expect "0".
> The Pig Error Handling doesn't specify the code for dryrun.  It may make sense to return "0" for successful dryrun, or explain it in the document. 
>  

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