[ https://issues.apache.org/jira/browse/SOLR-17039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17793069#comment-17793069 ]
ASF subversion and git services commented on SOLR-17039: -------------------------------------------------------- Commit 518caeab6672b60d2f7710a4dedd22d5dfe74523 in solr's branch refs/heads/branch_9_4 from Jan Høydahl [ https://gitbox.apache.org/repos/asf?p=solr.git;h=518caeab667 ] SOLR-17039: Entropy calculation fails in Docker due to missing 'bc' cmd (#2023) (cherry picked from commit 5a9f914a6a6dffd1bbceb8a5cd9a5cc8ad2bd60e) > 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 > Fix For: 9.5 > > Time Spent: 40m > 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: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org