Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # dev >> registerScript vs executeBatch


Copy link to this message
-
registerScript vs executeBatch
Any reason why PigServer.registerScript(..) chooses to only parse and not
execute, vs executing a pig script via command line invokes the same method
and chooses to execute right away. The latter makes sense to me, but not
sure why the behavior of PigServer API is not in sync with that?

The difference in code is GruntParser.parseStopOnError(boolean) is called
with different arguments in the 2 cases.

-Prashant
+
Bill Graham 2013-02-10, 07:03
+
Julien Le Dem 2013-02-11, 04:02
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB