[
https://issues.apache.org/jira/browse/SOLR-4170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540191#comment-13540191
]
Marcin Rzewucki commented on SOLR-4170:
---------------------------------------
Tried with solr_41 (4.1.0.2012.12.14.09.42.29). It seems to be fixed only
partially. Issue occurs once new index directory is created:
SEVERE: Exception while creating snapshot
java.io.FileNotFoundException: /solr/cores/aws/search/data/index/segments_1rg
(No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(Unknown Source)
at
org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:223)
at org.apache.lucene.store.Directory.copy(Directory.java:200)
at
org.apache.solr.handler.SnapShooter$FileCopier.copyFile(SnapShooter.java:205)
at
org.apache.solr.handler.SnapShooter$FileCopier.copyFiles(SnapShooter.java:189)
at
org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:107)
at org.apache.solr.handler.SnapShooter$1.run(SnapShooter.java:77)
File "segments_1rg" exists, but in
/solr/cores/aws/search/data/index.20121227160834580/ directory. Seems like
"index.properties"/getNewIndexDir is not respected by snapshotting process.
Could you check that, please ?
> Exception while creating snapshot
> ---------------------------------
>
> Key: SOLR-4170
> URL: https://issues.apache.org/jira/browse/SOLR-4170
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.0
> Reporter: Marcin Rzewucki
>
> I'm using SolrCloud. When I'm trying to create index snapshot - exception
> occurs:
> INFO: [test] webapp=/solr path=/replication
> params={command=backup&numberToKeep=1} status=0 QTime=1
> Dec 07, 2012 6:00:02 PM org.apache.solr.handler.SnapShooter createSnapshot
> SEVERE: Exception while creating snapshot
> java.io.FileNotFoundException: File /solr/cores/test/data/index/segments_g
> does not exist
> at
> org.apache.solr.handler.SnapShooter$FileCopier.copyFile(SnapShooter.java:194)
> at
> org.apache.solr.handler.SnapShooter$FileCopier.copyFiles(SnapShooter.java:185)
> at
> org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:105)
> at org.apache.solr.handler.SnapShooter$1.run(SnapShooter.java:78)
> Issue occurs randomly. Reloading core usually helps, but sometimes core has
> to be reloaded couple of times to make snapshot possible.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]