lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2551) Check dataimport.properties for write access before starting import
Date Mon, 11 Jul 2011 14:38:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063366#comment-13063366
] 

Steven Rowe commented on SOLR-2551:
-----------------------------------

I'll switch the DIH tests to run sequentially.  The benchmark module does this by setting
the {{tests.threadspercpu}} property to zero.

Here's the patch:

{{
Index: solr/contrib/dataimporthandler/build.xml
===================================================================
--- solr/contrib/dataimporthandler/build.xml    (revision 1145189)
+++ solr/contrib/dataimporthandler/build.xml    (working copy)
@@ -23,6 +23,9 @@
     Data Import Handler
   </description>
 
+  <!-- the tests have some parallel problems: writability to single copy of dataimport.properties
-->
+  <property name="tests.threadspercpu" value="0"/>
+
   <import file="../contrib-build.xml"/>
 
 </project>
}}

Committing shortly.

> Check dataimport.properties for write access before starting import
> -------------------------------------------------------------------
>
>                 Key: SOLR-2551
>                 URL: https://issues.apache.org/jira/browse/SOLR-2551
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4.1, 3.1
>            Reporter: C S
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 3.3, 4.0
>
>         Attachments: SOLR-2551.patch
>
>
> A common mistake is that the /conf (respectively the dataimport.properties) file is not
writable for solr. It would be great if that were detected on starting a dataimport job. 
> Currently and import might grind away for days and fail if it can't write its timestamp
to the dataimport.properties file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message