[ 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