You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Julien Le Dem (JIRA)" <ji...@apache.org> on 2012/08/31 20:55:07 UTC
[jira] [Commented] (PIG-2899) PigServer batch mode , pig scripts
and parameters
[ https://issues.apache.org/jira/browse/PIG-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446247#comment-13446247 ]
Julien Le Dem commented on PIG-2899:
------------------------------------
When you use PigServer.setBatchOn() you execute the script by calling PigServer.executeBatch()
Is that your problem?
> PigServer batch mode , pig scripts and parameters
> -------------------------------------------------
>
> Key: PIG-2899
> URL: https://issues.apache.org/jira/browse/PIG-2899
> Project: Pig
> Issue Type: Improvement
> Components: impl
> Affects Versions: 0.9.2
> Reporter: srinivas
> Fix For: 0.9.3
>
>
> We are using PigServer directly to run pig scripts as part of workflow.
> It looks like setbatchmodeon(true) can't be used with this registerScript(String fileName, Map<String,String> params).
> I am not sure why the pigserver implementation doesnt match grunt shell implementation.
> Also you need to call pigserver.store method.
> This makes MultiQuery option not possible with PigServer with registerPigScript?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira