hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Hu (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1522) Pig return code for dryrun
Date Wed, 28 Jul 2010 18:54:23 GMT
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.


Mime
View raw message