OpenSearch/docs/reference/setup
Jason Tedor 8a05c2a2be Bootstrap does not set system properties
Today, certain bootstrap properties are set and read via system
properties. This action-at-distance way of managing these properties is
rather confusing, and completely unnecessary. But another problem exists
with setting these as system properties. Namely, these system properties
are interpreted as Elasticsearch settings, not all of which are
registered. This leads to Elasticsearch failing to startup if any of
these special properties are set. Instead, these properties should be
kept as local as possible, and passed around as method parameters where
needed. This eliminates the action-at-distance way of handling these
properties, and eliminates the need to register these non-setting
properties. This commit does exactly that.

Additionally, today we use the "-D" command line flag to set the
properties, but this is confusing because "-D" is a special flag to the
JVM for setting system properties. This creates confusion because some
"-D" properties should be passed via arguments to the JVM (so via
ES_JAVA_OPTS), and some should be passed as arguments to
Elasticsearch. This commit changes the "-D" flag for Elasticsearch
settings to "-E".
2016-03-13 20:09:15 -04:00
..
as-a-service-win.asciidoc Docs: Removed references to java 7 and debian wheezy 2015-09-22 14:23:30 +02:00
as-a-service.asciidoc Fix typos in docs. 2016-02-09 02:07:32 -08:00
backup.asciidoc Remove DisableAllocationDecider 2015-09-03 09:10:48 -06:00
cluster_restart.asciidoc Update cluster_restart.asciidoc 2016-02-13 19:03:20 +01:00
configuration.asciidoc Bootstrap does not set system properties 2016-03-13 20:09:15 -04:00
dir-layout.asciidoc Docs: Correct docs around CONF_DIR and -Des.path.conf 2015-11-05 14:05:52 +01:00
repositories.asciidoc [DOCS] Use https for rpm packages, add dnf instructions 2016-02-29 09:15:48 -07:00
rolling_upgrade.asciidoc Bootstrap does not set system properties 2016-03-13 20:09:15 -04:00
upgrade.asciidoc Updating upgrade.asciidoc 2016-02-07 10:30:42 -05:00