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

Chad Kouse edited comment on SOLR-2790 at 2/10/12 10:04 PM:
------------------------------------------------------------

I just went through the code -- everything looks good -- however I can see 
where this could happen due to file permissions on the file system.  

It looks like this property is persisted to the dataimport.properties file in 
your conf folder.  If solr can't write to this file, it will appear as if the 
last_index_time is not updating.  

Code was added (not sure when) to surround this persist call with try/catch and 
add a status message "Could not write property file. Delta imports will not 
work. Make sure your conf directory is writable" if it cannot persist the file.

                
      was (Author: chadkouse):
    I just went through the code -- everything looks good -- however I can see 
where this could happen due to file permissions on the file system.  It looks 
like this property is persisted to the dataimport.properties file in your conf 
folder.  If solr can't write to this file, it will appear as if the 
last_index_time is not updating.  Code was added (not sure when) to surround 
this persist call with try/catch and add a status message "Could not write 
property file. Delta imports will not work. Make sure your conf directory is 
writable" if it cannot persist the file.

                  
> DataImportHandler last_index_time does not update on delta-imports
> ------------------------------------------------------------------
>
>                 Key: SOLR-2790
>                 URL: https://issues.apache.org/jira/browse/SOLR-2790
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 3.4
>         Environment: Windows 7, Java version 1.6.0_26
>            Reporter: Greg Martin
>             Fix For: 3.4
>
>
> When a full-index is run using the DataImportHandler, the last_index_time is 
> updated.  But it is not updated when a delta-import is run.  Same issue 
> reported here: 
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201104.mbox/%[email protected]%3E
> Note that the DataImportHandler entry on the wiki states that the 
> last_index_time should update on both delta-import and full-import.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to