1
0
Fork 0

solve error java.lang.NoSuchFieldError: INSTANCE when instantiating Solr client

This commit is contained in:
Claudio Atzori 2020-08-14 10:56:35 +02:00
parent f439a6231e
commit 1871d1c6f6
1 changed files with 12 additions and 0 deletions

View File

@ -597,6 +597,12 @@
<action name="drop_solr_collection">
<java>
<configuration>
<property>
<name>oozie.launcher.mapreduce.user.classpath.first</name>
<value>true</value>
</property>
</configuration>
<main-class>eu.dnetlib.dhp.oa.provision.SolrAdminApplication</main-class>
<arg>--isLookupUrl</arg><arg>${isLookupUrl}</arg>
<arg>--format</arg><arg>${format}</arg>
@ -639,6 +645,12 @@
<action name="commit_solr_collection">
<java>
<configuration>
<property>
<name>oozie.launcher.mapreduce.user.classpath.first</name>
<value>true</value>
</property>
</configuration>
<main-class>eu.dnetlib.dhp.oa.provision.SolrAdminApplication</main-class>
<arg>--isLookupUrl</arg><arg>${isLookupUrl}</arg>
<arg>--format</arg><arg>${format}</arg>