Changeset 32227
- Timestamp:
- Aug 30, 2011, 11:14:27 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/load.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/load.py
r32223 r32227 1 1 #!/usr/bin/env jython 2 2 3 # The starting point for ippTopsps. See usage below. 3 # 4 # The main loading program for ippToPsps. See usage below. 5 # 4 6 5 7 import time … … 24 26 25 27 batchIDs = ippToPspsDb.getProcessedButFailedDatastoreBatchIDs(EPOCH, DVOGPC1LABEL, batchType) 26 logger.infoPair(" Failed loads to datastore", "%d %s batches" % (len(batchIDs), batchType))28 logger.infoPair("%s batches" % batchType, "%d" % len(batchIDs)) 27 29 28 30 for batchID in batchIDs: … … 154 156 # print info to log 155 157 logger.infoSeparator() 156 logger.infoTitle("ippToPsps started")158 logger.infoTitle("ippToPsps loading started") 157 159 logger.infoPair("Configuration file", CONFIG) 158 160 logger.infoPair("Loading epoch", EPOCH) … … 183 185 184 186 # queue up batches that are processed but not loaded to datastore 185 if QUEUE_P2: publishAnyUnpublishedBatches("P2") 186 if QUEUE_ST: publishAnyUnpublishedBatches("ST") 187 logger.infoTitle("Previous failed datastore loads") 188 publishAnyUnpublishedBatches("P2") 189 publishAnyUnpublishedBatches("ST") 187 190 188 191 if QUEUE_P2: queueItems("P2")
Note:
See TracChangeset
for help on using the changeset viewer.
