[
https://issues.apache.org/jira/browse/SOLR-17039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl updated SOLR-17039:
-------------------------------
Priority: Minor (was: Major)
> Entropy calculation fails in Docker due to missing 'bc' cmd
> -----------------------------------------------------------
>
> Key: SOLR-17039
> URL: https://issues.apache.org/jira/browse/SOLR-17039
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Affects Versions: 9.4
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In SOLR-16644 the entropy warning in bin/start was modified.
> However, when run in default Solr docker image, there is a warning
> {code:java}
> $ docker run -ti solr:9.4.0 bash
> solr@4eacf30312ef:/opt/solr-9.4.0$ bin/solr start -c
> Java 17 detected. Enabled workaround for SOLR-16463
> bin/solr: line 2408: bc: command not found
> Waiting up to 180 seconds to see Solr running on port 8983 [/] {code}
> The script uses a 'bc' command to do the numeric comparison, but that command
> is not available ootb in our image
> Luckily this does not happen when run in foreground, which is the default for
> the docker image. Thus it is only if you exec into the container and then
> start solr in the background, which is not very common,
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]