dsmiley opened a new pull request, #5378: URL: https://github.com/apache/solr/pull/5378
`ShowFileRequestHandler` (`/admin/file`, used by the Admin UI's "Files" view) chose its ZooKeeper code path based on `CoreContainer.isZooKeeperAware()`, then cast the core's resource loader to `ZkSolrResourceLoader`. But `configSetService` is pluggable in `solr.xml`, so in SolrCloud a core's ConfigSet may be loaded from the file system (e.g. a `FileSystemConfigSetService` subclass, keeping configuration in an immutable Docker image). That threw a `ClassCastException` (HTTP 500). Now it dispatches on whether the core's resource loader is a `ZkSolrResourceLoader`. Tested manually: SolrCloud with a file-system ConfigSetService; `/admin/file` listing and file retrieval now work (previously a ClassCastException). No automated test. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
