[ 
https://issues.apache.org/jira/browse/SOLR-17600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18087755#comment-18087755
 ] 

Chris M. Hostetter commented on SOLR-17600:
-------------------------------------------

git bisect has identified ddb1923d15e5a2448e1f82bef1909ff4b1f6d337 as the first 
bad commit causing many reproducible jenkins test failures in 
{{TestPackages.testCoreReloadingPlugin}}...

{noformat}
./gradlew :solr:core:test --tests 
"org.apache.solr.pkg.TestPackages.testCoreReloadingPlugin" 
"-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC 
-XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m" 
-Ptests.seed=3458F71ACA3BFF18 -Ptests.useSecurityManager=true 
-Ptests.nightly=true -Ptests.file.encoding=UTF-8
{noformat}

Underlying problem....
{noformat}
  2> java.lang.ClassCastException: class org.apache.solr.search.CacheConfig 
cannot be cast to class java.util.Map (org.apache.solr.search.CacheConfig is in 
unnamed module of loader 'app'; java.util.Map is in module java.base of loader 
'bootstrap')
  2>    at 
org.apache.solr.handler.SolrConfigHandler$Command.handleGET(SolrConfigHandler.java:293)
  2>    at 
org.apache.solr.handler.SolrConfigHandler.handleRequestBody(SolrConfigHandler.java:154)
  2>    at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:251)
  2>    at org.apache.solr.core.SolrCore.execute(SolrCore.java:2919)
  2>    at 
org.apache.solr.servlet.HttpSolrCall.executeCoreRequest(HttpSolrCall.java:699)
  2>    at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:492)
  2>    at org.apache.solr.servlet.SolrServlet.dispatch(SolrServlet.java:114)
  2>    at org.apache.solr.servlet.SolrServlet.service(SolrServlet.java:90)

{noformat}

> Deprecate and remove MapSerializable
> ------------------------------------
>
>                 Key: SOLR-17600
>                 URL: https://issues.apache.org/jira/browse/SOLR-17600
>             Project: Solr
>          Issue Type: Task
>            Reporter: David Smiley
>            Priority: Minor
>              Labels: newdev, pull-request-available
>             Fix For: 10.0
>
>          Time Spent: 7h 50m
>  Remaining Estimate: 0h
>
> MapSerializable has a single method toMap(Map) and that which is intended for 
> serialization.  It was basically obsoleted by MapWritable that also has this 
> method.  Any class implementing MapSerializable should instead implement 
> MapWritable, thus implementing MapWritable.writeMap, and remove redundant 
> toMap implementations.  This amounts to replacing toMap with writeMap.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to