Differences between revisions 1 and 2
Revision 1 as of 2009-07-29 10:11:15
Size: 1317
Comment:
Revision 2 as of 2009-07-29 17:13:09
Size: 1851
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
|| 153 || Replace ';' with '.' || NA || NOTOK ||
Line 21: Line 22:
|| General || Note that we don't usually review our testcode || NA || NOTOK ||
Line 23: Line 25:
|| 162 || Rename as stopTimeoutJobs() || NA || NOTOK ||
|| 201 || Change to "Stop any job that has been in status STARTED a very long time defined by the HarvesterSettings.JOB_TIMEOUT_TIME setting" || NA || NOTOK ||
|| 215 || Remove comment || NA || NOTOK ||
|| 217 || Change to: " Job " + id + " has exceeded its timeout of XXX minutes. Its status has now been changed to FAILED." || NA || NOTOK ||

Review (NS-57): Added feature request for 1014. Added a private method on...

Author

Henrik Kirk

Moderator

Henrik Kirk

State

Closed

Objectives

870: 
Added feature request for 1014. Added a private method on HarvestScheduler stopOldJobs.
When to stop a job is determined by a jobs AtualStartTime and the timeout time is determined by settings.harvester.scheduler.jobtimeouttime. Standard is set to 604800 seconds equal one week.
Added a testStopOldJobs in HarvestSchedulerTester which testes that HarvestScheduler.run() marks started jobs as failed if they are older than one week.
Cleaned up in warnings

General comments:

Description

Classification

Status

Comments on file 'trunk/src/dk/netarkivet/harvester/HarvesterSettings.java', revision 870

Lines

Description

Classification

Status

153

Replace ';' with '.'

NA

NOTOK

Comments on file 'trunk/tests/dk/netarkivet/harvester/scheduler/HarvestSchedulerTester.java', revision 870

Lines

Description

Classification

Status

General

Note that we don't usually review our testcode

NA

NOTOK

Comments on file 'trunk/src/dk/netarkivet/harvester/scheduler/HarvestScheduler.java', revision 870

Lines

Description

Classification

Status

162

Rename as stopTimeoutJobs()

NA

NOTOK

201

Change to "Stop any job that has been in status STARTED a very long time defined by the HarvesterSettings.JOB_TIMEOUT_TIME setting"

NA

NOTOK

215

Remove comment

NA

NOTOK

217

Change to: " Job " + id + " has exceeded its timeout of XXX minutes. Its status has now been changed to FAILED."

NA

NOTOK

IssuesFromNs57 (last edited 2010-08-16 10:24:39 by localhost)