Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1341

SolrIndexingDestination must not create distribution folder in Constructor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Entityhub
    • Labels:
      None

      Description

      Since STANBOL-1232 the SolrIndexDestintation can be constructed via a constructor - meaning that it can be used outside of the Entityhub Indexing Tool.

      In this use case the distribution folder is not used as no distribution files are generated. However the distribution folder is still checked (and created if not present). As it can not be configured via the constructor the location is set to the default "

      {user.dir}

      "/dist.

      If Java does not have write access to this directory the initialization of the SolrIndexingDestination will fail.

      To avoid this the constructor MUST NOT check/create the distribution folder. This has only do be done in the finalize() method before the distribution files are written.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rwesten Rupert Westenthaler
                Reporter:
                rwesten Rupert Westenthaler

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Issue deployment