You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/05/16 13:24:36 UTC

[jira] [Resolved] (STANBOL-1341) SolrIndexingDestination must not create distribution folder in Constructor

     [ https://issues.apache.org/jira/browse/STANBOL-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Westenthaler resolved STANBOL-1341.
------------------------------------------

    Resolution: Fixed

fixed with rev. 1594863

> SolrIndexingDestination must not create distribution folder in Constructor
> --------------------------------------------------------------------------
>
>                 Key: STANBOL-1341
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1341
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Entityhub
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>             Fix For: 1.0.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)