You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2014/04/16 23:06:16 UTC
[jira] [Comment Edited] (PIG-3896) PigServer - Batch
[ https://issues.apache.org/jira/browse/PIG-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971953#comment-13971953 ]
Rohini Palaniswamy edited comment on PIG-3896 at 4/16/14 9:04 PM:
------------------------------------------------------------------
Do you have multiquery turned off? Only in that case will a job be launched when STORE statement is encountered. PIG-3882 fixes that. If you have multiquery turned on it could be a different issue. You will have to post reproducible code for debugging.
was (Author: rohini):
PIG-3882 should fix this.
> PigServer - Batch
> ------------------
>
> Key: PIG-3896
> URL: https://issues.apache.org/jira/browse/PIG-3896
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.12.0
> Environment: linux
> Reporter: srinivas
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> When using PigServer to execute pig scripts, multiple store statements in a single pig script result in multiple pig jobs getting created.
> In earlier versions only on pig job would be created for a pig script even there were multiple store statements in the script.
> It looks like batch mode changes affected this
> 0.10.0
> pigServer.setBatchOn();
> pigServer.registerScript(pigScript, params);
> List<ExecJob> pigJobs = pigServer.executeBatch();
> this would create only one pig job
> in version 0.12.0
> pigServer.setBatchOn();
> pigServer.registerScript(pigScript, params);
> List<ExecJob> pigJobs = pigServer.executeBatch(true);
> create multiple pig jobs instead of one and taking longer.
--
This message was sent by Atlassian JIRA
(v6.2#6252)