Revision: 19391
http://sourceforge.net/p/gate/code/19391
Author: ian_roberts
Date: 2016-06-01 13:02:30 +0000 (Wed, 01 Jun 2016)
Log Message:
-----------
Fix to un-break streaming input handlers
Modified Paths:
--------------
gcp/trunk/src/gate/cloud/batch/BatchRunner.java
Modified: gcp/trunk/src/gate/cloud/batch/BatchRunner.java
===================================================================
--- gcp/trunk/src/gate/cloud/batch/BatchRunner.java 2016-06-01 12:06:40 UTC
(rev 19390)
+++ gcp/trunk/src/gate/cloud/batch/BatchRunner.java 2016-06-01 13:02:30 UTC
(rev 19391)
@@ -775,9 +775,8 @@
log.info("Loading time (seconds):
"+(loadingFinishedTime-startTime)/1000.0);
log.info("Launching batch:\n" + aBatch);
- int size = aBatch.getUnprocessedDocumentIDs().length;
// if this is run from gcp-direct and there are no unprocessed
documents, do nothing
- if(!invokedByGcpCli && size == 0) {
+ if(!invokedByGcpCli && aBatch.getUnprocessedDocumentIDs() != null &&
aBatch.getUnprocessedDocumentIDs().length == 0) {
log.info("No documents to process, exiting");
} else {
instance.runBatch(aBatch);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs