Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2
    • Component/s: Test
    • Labels:
      None

      Description

      In the first part of TEST9:

      [test@kb-test-adm-001 TEST9]$ java -Ddk.netarkivet.settings.file=$HOME/$TESTX/conf/settings_ArcRepositoryApplication.xml -Dsettings.common.applicationInstanceId=record dk.netarkivet.archive.tools.GetRecord /tmp/$TESTX/test-index http://www.pligtaflevering.dk/online/vejledning.pdf > x.pdf
      log4j:WARN No appenders could be found for logger (dk.netarkivet.archive.arcrepository.distribute.JMSArcRepositoryClient).
      log4j:WARN Please initialize the log4j system properly.
      An error occurred during processing.
      Output (if any) is not OK
      Exception message is:
      NetarkivetException while performing ARCArchiveAccess.lookup
      Stack trace:
      dk.netarkivet.common.exceptions.IOFailure: NetarkivetException while performing ARCArchiveAccess.lookup
      	at dk.netarkivet.archive.tools.GetRecord$GetRecordTool.run(GetRecord.java:146)
      	at dk.netarkivet.common.tools.ToolRunnerBase.runIt(ToolRunnerBase.java:84)
      	at dk.netarkivet.common.tools.ToolRunnerBase.setupAndRunIt(ToolRunnerBase.java:94)
      	at dk.netarkivet.common.tools.ToolRunnerBase.checkArgsSetupAndRun(ToolRunnerBase.java:110)
      	at dk.netarkivet.common.tools.ToolRunnerBase.internalRunTheTool(ToolRunnerBase.java:119)
      	at dk.netarkivet.common.tools.ToolRunnerBase.runTheTool(ToolRunnerBase.java:73)
      	at dk.netarkivet.archive.tools.GetRecord.main(GetRecord.java:69)
      Caused by: dk.netarkivet.common.exceptions.IOFailure: Unable to find/open index /tmp/TEST9/test-index
      	at dk.netarkivet.common.distribute.arcrepository.ARCLookup.setIndex(ARCLookup.java:125)
      	at dk.netarkivet.archive.tools.GetRecord$GetRecordTool.run(GetRecord.java:137)
      	... 6 more
      Caused by: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource: ChecksumIndexInput(NIOFSIndexInput(path="/tmp/TEST9/test-index/segments"))): -1 (needs to be between -9 and -11). This version of Lucene only supports indexes created with release 3.0 and later.
      	at org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoReader.readLegacySegmentInfo(Lucene3xSegmentInfoReader.java:128)
      	at org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoReader.readLegacyInfos(Lucene3xSegmentInfoReader.java:54)
      	at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:345)
      	at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:56)
      	at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:812)
      	at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
      	at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:66)
      	at dk.netarkivet.common.distribute.arcrepository.ARCLookup.setIndex(ARCLookup.java:121)
      	... 7 more
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                svc Søren Vejrup Carlsen
                Reporter:
                csr Colin Rosenthal
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: