Revision: 19393
http://sourceforge.net/p/gate/code/19393
Author: ian_roberts
Date: 2016-06-01 13:05:34 +0000 (Wed, 01 Jun 2016)
Log Message:
-----------
Merging streaming fix from trunk
Modified Paths:
--------------
gcp/branches/2.6/src/gate/cloud/batch/BatchRunner.java
Property Changed:
----------------
gcp/branches/2.6/
Index: gcp/branches/2.6
===================================================================
--- gcp/branches/2.6 2016-06-01 13:04:29 UTC (rev 19392)
+++ gcp/branches/2.6 2016-06-01 13:05:34 UTC (rev 19393)
Property changes on: gcp/branches/2.6
___________________________________________________________________
Modified: svn:mergeinfo
## -1,2 +1,3 ##
/gcp/branches/2.2:15411
/gcp/branches/2.4:18004
+/gcp/trunk:19391
\ No newline at end of property
Modified: gcp/branches/2.6/src/gate/cloud/batch/BatchRunner.java
===================================================================
--- gcp/branches/2.6/src/gate/cloud/batch/BatchRunner.java 2016-06-01
13:04:29 UTC (rev 19392)
+++ gcp/branches/2.6/src/gate/cloud/batch/BatchRunner.java 2016-06-01
13:05:34 UTC (rev 19393)
@@ -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