Hello all,
Solr 8.11.0
java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
I'm trying to enable S3 backup repository on a collection but I'm getting:
"error":{
"metadata":[
"error-class","org.apache.solr.common.SolrException",
"root-error-class","java.lang.ClassNotFoundException"],
"msg":"Error loading class 'org.apache.solr.s3.S3BackupRepository'",
I have the following in the solrconfig.xml for the collection:
<lib dir="${solr.install.dir:../../../..}/contrib/s3-repository/lib"
regex=".*\.jar" />
<lib dir="${solr.install.dir:../../../..}/dist/"
regex="solr-s3-repository-\d.*\.jar" />
The log appears to show the appropriate plugin folders correctly with a
correct libs added count:
2021-11-29 15:17:02.980 INFO
(coreLoadExecutor-21-thread-3-processing-n:solr-0001:8983_solr) [ ]
o.a.s.c.SolrResourceLoader Added 23 libs to classloader, from paths:
[/opt/solr/contrib/s3-repository/lib, /opt/solr/dist]
And I have in the solr.xml file:
<backup>
<repository name="wasabi-solr-indexes"
class="org.apache.solr.s3.S3BackupRepository" default="false">
<str name="s3.bucket.name">solr-indexes</str>
<str name="s3.profile">wasabi-solr-indexes</str>
<str name="s3.endpoint">s3.us-east-1.wasabisys.com</str>
</repository>
</backup>
I'm trying to run the backup with:
curl
"http://solr-0001:8983/solr/admin/collections?action=BACKUP&name=test&collection=test_actual&repository=wasabi-solr-indexes"