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

Rupert Westenthaler resolved STANBOL-328.
-----------------------------------------

    Resolution: Fixed
      Assignee: Rupert Westenthaler

fixed with revision #1183356 by adding an option to the ResourceLoader that 
causes the loading to fail on the first encountered Error. The 
RdfIndexingSource activates this feature when loading RDF files
                
> EntityHub batch indexing tools should fail early if the input is incorrect
> --------------------------------------------------------------------------
>
>                 Key: STANBOL-328
>                 URL: https://issues.apache.org/jira/browse/STANBOL-328
>             Project: Stanbol
>          Issue Type: Bug
>            Reporter: Olivier Grisel
>            Assignee: Rupert Westenthaler
>            Priority: Minor
>
> If exceptions occur during the initialization step of the RdfIndexingSource 
> they are just loggued and the indexing process continue with incomplete data: 
> if the error is at the beginning of an RDF dump most of the dump is just 
> ingored and the SolrYard indexer goes on with partial data which is just a 
> wast of CPU resources since the resulting index in incomplete.
> Instead the indexer should fail early by raising the exceptions that are 
> caught in ResourceLoader#loadResource (while adding the incriminated filename 
> to the exception message) and ask the user to fix the input files before 
> proceeding.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to