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

Batch-jobs sent to LocalArcrepositoryClient send back results using transport method defined by settings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • I51, 3.20.0
    • 3.18.0
    • None
    • None
    • Confident
    • Hide

      1) Install a NAS system.
      2) Modify the Indexserver, so it has access to 20 PROD metadata-arc files locally on index-server (using LocalArcRepository as arcrepositoryClient), and let IndexServer always return the same index based on thee 20 jobs regardless the request (using the TestIndexRequestServer class: The jobs taking part of the index is contained in the file given as argument to the TestIndexRequestServer)
      See kb-test-acs-001.kb.dk:/home/test/LUCENETEST/conf/settings_IndexServerApplication.xml
      on how this is done
      3) Make sure, that the cache directory used by the IndexServer is empty before starting the system.
      4) Start your NAS-system.
      5) Make a selective harvest def of netarkivet.dk and run it twice
      6) See in the logs of the IndexServer, that it doesn't use FTP to return the results of the batch jobs used when indexing.

      Show
      1) Install a NAS system. 2) Modify the Indexserver, so it has access to 20 PROD metadata-arc files locally on index-server (using LocalArcRepository as arcrepositoryClient), and let IndexServer always return the same index based on thee 20 jobs regardless the request (using the TestIndexRequestServer class: The jobs taking part of the index is contained in the file given as argument to the TestIndexRequestServer) See kb-test-acs-001.kb.dk:/home/test/LUCENETEST/conf/settings_IndexServerApplication.xml on how this is done 3) Make sure, that the cache directory used by the IndexServer is empty before starting the system. 4) Start your NAS-system. 5) Make a selective harvest def of netarkivet.dk and run it twice 6) See in the logs of the IndexServer, that it doesn't use FTP to return the results of the batch jobs used when indexing.

    Description

      I have recently used the LocalArcrepositoryClient to test the Indexserver.
      But this client sends its batch-data back to its local client using the RemoteFile class defined by settings.
      In my case this was FTPRemoteFile, and the FTP-server to use was on another machine!

      This should be changed to use a LocalFile instead.

      Attachments

        Activity

          People

            svc Søren Vejrup Carlsen (Inactive)
            svc Søren Vejrup Carlsen (Inactive)
            Colin Rosenthal Colin Rosenthal
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h
                4h