dk.netarkivet.wayback.indexer
Class ResetFailedFiles

java.lang.Object
  extended by dk.netarkivet.wayback.indexer.ResetFailedFiles

public class ResetFailedFiles
extends java.lang.Object

Utility to enable retry of indexing for selected files after they have reached maxFailedAttempts.


Field Summary
(package private) static org.apache.commons.logging.Log log
          The logger for this class.
 
Constructor Summary
ResetFailedFiles()
           
 
Method Summary
static void main(java.lang.String[] args)
          Usage: java -cp dk.netarkivet.wayback.jar -Ddk.netarkivet.settings.file=/home/test/TEST12/conf/settings_WaybackIndexerApplication.xml -Dsettings.common.applicationInstanceId=RESET_FILES dk.netarkivet.wayback.indexer.ResetFailedFiles file1 file2 ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static final org.apache.commons.logging.Log log
The logger for this class.

Constructor Detail

ResetFailedFiles

public ResetFailedFiles()
Method Detail

main

public static void main(java.lang.String[] args)
Usage: java -cp dk.netarkivet.wayback.jar -Ddk.netarkivet.settings.file=/home/test/TEST12/conf/settings_WaybackIndexerApplication.xml -Dsettings.common.applicationInstanceId=RESET_FILES dk.netarkivet.wayback.indexer.ResetFailedFiles file1 file2 ... The given files are reset so that they appear never to have failed an indexing attempt. They will therefore be placed in the index queue the next time the indexer runs.

Parameters:
args - the file names