Trying to track down an issue I am seeing with Solr 8.5.1 running on CentOS
8.2 and Java 14.0.1 (openJDK).  My test system was running fine before
updating the OS packages and rebooting at which time it started throwing
the following error:

2020-06-19 20:23:37.877 INFO  (main) [   ] o.e.j.s.Server Started @9695ms
2020-06-19 20:23:37.928 INFO  (coreLoadExecutor-9-thread-1) [   x:testcore]
o.a.s.s.IndexSchema [testcore] Schema name=testcore core
2020-06-19 20:23:38.597 INFO  (coreLoadExecutor-9-thread-1) [   x:testcore]
o.a.s.s.IndexSchema Loaded schema testcore core/1.1 with uniqueid field Urn
2020-06-19 20:23:38.700 INFO  (coreLoadExecutor-9-thread-1) [   x:testcore]
o.a.s.c.CoreContainer Creating SolrCore 'testcore' using configuration from
instancedir /opt/solr/server/solr/cores/testcore, trusted=true
2020-06-19 20:23:38.749 INFO  (coreLoadExecutor-9-thread-1) [   x:testcore]
o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.core.testcore' (registry
'solr.core.testcore') enabled at server:
com.sun.jmx.mbeanserver.JmxMBeanServer@202b0582
2020-06-19 20:23:38.769 INFO  (coreLoadExecutor-9-thread-1) [   x:testcore]
o.a.s.c.SolrCore [[testcore] ] Opening new SolrCore at
[/opt/solr/server/solr/cores/testcore],
dataDir=[/opt/solr/server/solr/cores/testcore/data/]
2020-06-19 20:23:39.124 INFO  (coreLoadExecutor-9-thread-1) [   x:testcore]
o.a.s.c.SolrCore [testcore]  CLOSING SolrCore
org.apache.solr.core.SolrCore@7ef79721
2020-06-19 20:23:39.124 INFO  (coreLoadExecutor-9-thread-1) [   x:testcore]
o.a.s.m.SolrMetricManager Closing metric reporters for
registry=solr.core.testcore, tag=SolrCore@7ef79721
2020-06-19 20:23:39.125 INFO  (coreLoadExecutor-9-thread-1) [   x:testcore]
o.a.s.m.r.SolrJmxReporter Closing reporter
[org.apache.solr.metrics.reporters.SolrJmxReporter@41d9b174: rootName =
null, domain = solr.core.testcore, service url = null, agent id = null] for
registry solr.core.testcore / com.codahale.metrics.MetricRegistry@59cd1690
2020-06-19 20:23:39.133 ERROR (coreContainerWorkExecutor-2-thread-1) [   ]
o.a.s.c.CoreContainer Error waiting for SolrCore to be loaded on startup =>
org.apache.solr.common.SolrException: Unable to create core [testcore]
        at
org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1327)
org.apache.solr.common.SolrException: Unable to create core [testcore]
        at
org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1327)
~[solr-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 -
ivera - 2020-04-08 09:01:41]
        at
org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:802)
~[solr-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 -
ivera - 2020-04-08 09:01:41]
        at
com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:202)
~[metrics-core-4.1.2.jar:4.1.2]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:210)
~[solr-solrj-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 -
ivera - 2020-04-08 09:01:44]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
~[?:?]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
~[?:?]
        at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: org.apache.solr.common.SolrException: Bad or unsupported
pattern: java.time.format.DateTimeFormatter$ClassicFormat@4e663e55
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:1072)
~[solr-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 -
ivera - 2020-04-08 09:01:41]
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:901)
~[solr-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 -
ivera - 2020-04-08 09:01:41]
        at
org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1306)
~[solr-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 -
ivera - 2020-04-08 09:01:41]
        ... 7 more
Caused by: org.apache.solr.common.SolrException: Bad or unsupported
pattern: java.time.format.DateTimeFormatter$ClassicFormat@4e663e55
        at
org.apache.solr.update.processor.ParseDateFieldUpdateProcessorFactory.validateFormatter(ParseDateFieldUpdateProcessorFactory.java:217)
~[solr-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 -
ivera - 2020-04-08 09:01:41]
        at
org.apache.solr.update.processor.ParseDateFieldUpdateProcessorFactory.init(ParseDateFieldUpdateProcessorFactory.java:189)
~[solr-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 -
ivera - 2020-04-08 09:01:41]
        at org.apache.solr.core.PluginBag.initInstance(PluginBag.java:106)
~[solr-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 -
ivera - 2020-04-08 09:01:41]

After tracking down the RPM package likely to cause this issue it was
determined that updating tzdata-java from version 2019c to 2020a causes
this issue.  I rolled back that one RPM to the previous version and now the
core loads on startup once again.

So I am trying to determine where or what the issue may be.  Is it a Java
issue?  Is it a Solr issue?  Solr itself starts fine if there are no cores
and the tzdata-java is 2020a.  Any suggestions or hints to go on?

Thanks

Reply via email to