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 2009/01/15 19:43:01 UTC
[jira] Commented: (PIG-571) pigserver methods do not throw error or
return error code when an error occurs
[ https://issues.apache.org/jira/browse/PIG-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664213#action_12664213 ]
Olga Natkovich commented on PIG-571:
------------------------------------
Chris, Santhosh is working on the error handling stuff and will look into this issue as part of his work. It would be helpful if you provided a snipped of code shat shows this behavior.
> pigserver methods do not throw error or return error code when an error occurs
> ------------------------------------------------------------------------------
>
> Key: PIG-571
> URL: https://issues.apache.org/jira/browse/PIG-571
> Project: Pig
> Issue Type: Bug
> Affects Versions: types_branch
> Reporter: Christopher Olston
>
> I do PigServer.registerQuery("store ..."), and the query fails. Pig prints a bunch of stack traces but does not throw an error back to the caller. This is a major problem because my client needs to know whether the Pig command succeeded or failed.
> I saw this problem with registerQuery() ... the same problem may arise with other PigServer methods as well, such as store(), copy(), etc. -- not sure.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.