Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40CBC6B3C for ; Tue, 14 Jun 2011 12:30:10 +0000 (UTC) Received: (qmail 56322 invoked by uid 500); 14 Jun 2011 12:30:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 56272 invoked by uid 500); 14 Jun 2011 12:30:08 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 56265 invoked by uid 99); 14 Jun 2011 12:30:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 12:30:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 12:30:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9E4DC415D42 for ; Tue, 14 Jun 2011 12:29:47 +0000 (UTC) Date: Tue, 14 Jun 2011 12:29:47 +0000 (UTC) From: "Shalin Shekhar Mangar (JIRA)" To: dev@lucene.apache.org Message-ID: <235205802.2529.1308054587645.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1233935589.48623.1306503347353.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-2551) Checking dataimport.properties for write access during startup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar updated SOLR-2551: ---------------------------------------- Attachment: SOLR-2551.patch Patch to fail imports if the data config supports delta import but the dataimport.properties file is not writable. Added a test to verify. > Checking dataimport.properties for write access during startup > -------------------------------------------------------------- > > 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 > 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