lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From teki <tekige...@gmail.com>
Subject Solr 7.3.0 Backup API not successfull
Date Wed, 21 Nov 2018 14:38:44 GMT
I was used to take the backup of my core using the following API

curl
'http://localhost:8080/solr/report/replication?command=backup&location=/backup/solr-backup/&numberToKeep=1'

But recently, we started to see Exceptions like following

	java.nio.file.NoSuchFileException:
/var/solr/data/report_shard1_replica_n1/data/index/_2mp7v.si
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at
sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
	at java.nio.channels.FileChannel.open(FileChannel.java:287)
	at java.nio.channels.FileChannel.open(FileChannel.java:335)
	at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:238)
	at
org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:182)
	at org.apache.lucene.store.Directory.copyFrom(Directory.java:159)
	at
org.apache.solr.core.backup.repository.LocalFileSystemRepository.copyFileFrom(LocalFileSystemRepository.java:145)
	at org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:239)
	at
org.apache.solr.handler.SnapShooter.lambda$createSnapAsync$1(SnapShooter.java:206)
	at java.lang.Thread.run(Thread.java:748)

hence the backup was not successful and not snapshots aren't created. I
checked the status with the Backup details API

curl --silent http://localhost:8080/solr/report/replication?command=details

>>omitting rest
 "master":{
      "replicateAfter":["commit"],
      "replicationEnabled":"true",
      "replicableVersion":1542809383290,
      "replicableGeneration":3870332},
    "backup":[
     
"exception","/var/solr/data/report_shard1_replica_n1/data/index/segments_2aycw"]}}

Which means the snapshot API is throwing exceptions. It seem's like index is
changing regularly which may have corrupted the backup. I would like to know
the detailed explanation for this issue and some help in order to sort out
this issues.

Any help is highly appreciated.

Thanks
teki



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message