Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2238

Batch Job Runs on Wrong Files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Test
    • None

    Description

      In TEST11A, a test which should be run only on arcfiles, fails because it also runs on warcfiles:

      [test@kb-test-acs-001 TEST11A]$ java -cp lib/dk.netarkivet.archive.jar -Dsettings.common.applicationInstanceId=SIMPLE -Ddk.netarkivet.settings.file=conf/settings_IndexServerApplication.xml dk.netarkivet.archive.tools.RunBatch -Cbatchprogs/SimpleArcBatchJob.class -R.*.arc -Ooutput.simple
      log4j:WARN No appenders could be found for logger (dk.netarkivet.common.utils.Settings).
      log4j:WARN Please initialize the log4j system properly.
      Running batch job 'batchprogs/SimpleArcBatchJob.class' on files matching '.*.arc' on replica 'KBN', output written to file 'output.simple', errors written to stderr 
      Processed 25 files with 6 failures
      Failed files:
      4-metadata-1.warc
      5-metadata-1.warc
      4-1-20130117144333-00001-kb-test-har-002.kb.dk.warc
      5-1-20130117172315-00001-kb-test-har-002.kb.dk.warc
      4-1-20130117144333-00000-kb-test-har-002.kb.dk.warc
      5-1-20130117172315-00000-kb-test-har-002.kb.dk.warc
      

      Note that the command line specifies a regexp which should exclude arcfiles!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              csr Colin Rosenthal
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: