SOLR-14972: Change default port of prometheus exporter to 8989 (#2046)

This commit is contained in:
Jan Høydahl 2020-11-02 14:06:34 +01:00 committed by GitHub
parent 0fb21e2980
commit 0c3f2f4ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View File

@ -40,6 +40,8 @@ Improvements
* SOLR-14880: Support coreRootDirectory setting when create new cores from command line, in standalone mode (Alexandre Rafalovitch) * SOLR-14880: Support coreRootDirectory setting when create new cores from command line, in standalone mode (Alexandre Rafalovitch)
* SOLR-14972: Change default port of prometheus exporter to 8989 because it clashed with default embedded zookeeper port (janhoy)
Other Changes Other Changes
---------------------- ----------------------
* SOLR-14656: Autoscaling framework removed (Ishan Chattopadhyaya, noble, Ilan Ginzburg) * SOLR-14656: Autoscaling framework removed (Ishan Chattopadhyaya, noble, Ilan Ginzburg)

View File

@ -50,7 +50,7 @@ public class SolrExporter {
private static final String[] ARG_PORT_FLAGS = {"-p", "--port"}; private static final String[] ARG_PORT_FLAGS = {"-p", "--port"};
private static final String ARG_PORT_METAVAR = "PORT"; private static final String ARG_PORT_METAVAR = "PORT";
private static final String ARG_PORT_DEST = "port"; private static final String ARG_PORT_DEST = "port";
private static final int ARG_PORT_DEFAULT = 9983; private static final int ARG_PORT_DEFAULT = 8989;
private static final String ARG_PORT_HELP = "Specify the solr-exporter HTTP listen port; default is " + ARG_PORT_DEFAULT + "."; private static final String ARG_PORT_HELP = "Specify the solr-exporter HTTP listen port; default is " + ARG_PORT_DEFAULT + ".";
private static final String[] ARG_BASE_URL_FLAGS = {"-b", "--baseurl"}; private static final String[] ARG_BASE_URL_FLAGS = {"-b", "--baseurl"};

View File

@ -139,6 +139,8 @@ _(raw; not yet edited)_
* SOLR-14654: plugins cannot be loaded using "runtimeLib=true" option. Use the package manager to use and load plugins * SOLR-14654: plugins cannot be loaded using "runtimeLib=true" option. Use the package manager to use and load plugins
* SOLR-14972: The default port of prometheus exporter has changed from 9983 to 8989, so you may need to adjust your configuration after upgrade.
=== Upgrade Prerequisites in Solr 9 === Upgrade Prerequisites in Solr 9
* Upgrade all collections in stateFormat=1 to stateFormat=2 *before* upgrading to Solr 9, as Solr 9 does not support the * Upgrade all collections in stateFormat=1 to stateFormat=2 *before* upgrading to Solr 9, as Solr 9 does not support the

View File

@ -89,7 +89,7 @@ Displays command line help and usage.
`-p`, `--port`, `$PORT`:: `-p`, `--port`, `$PORT`::
The port where Prometheus will listen for new data. This port will be used to configure Prometheus. The port where Prometheus will listen for new data. This port will be used to configure Prometheus.
It can be any port not already in use on your server. The default is `9983`. It can be any port not already in use on your server. The default is `8989`.
`-b`, `--baseurl`, `$SOLR_URL`:: `-b`, `--baseurl`, `$SOLR_URL`::
The Solr base URL (such as `\http://localhost:8983/solr`) when Solr is running in Standalone mode. The Solr base URL (such as `\http://localhost:8983/solr`) when Solr is running in Standalone mode.