OpenSearch/docs/reference
Boaz Leskes cd596772ee Persistent Node Names (#19456)
With #19140 we started persisting the node ID across node restarts. Now that we have a "stable" anchor, we can use it to generate a stable default node name and make it easier to track nodes over a restarts. Sadly, this means we will not have those random fun Marvel characters but we feel this is the right tradeoff.

On the implementation side, this requires a bit of juggling because we now need to read the node id from disk before we can log as the node node is part of each log message. The PR move the initialization of NodeEnvironment as high up in the starting sequence as possible, with only one logging message before it to indicate we are initializing. Things look now like this:

```
[2016-07-15 19:38:39,742][INFO ][node                     ] [_unset_] initializing ...
[2016-07-15 19:38:39,826][INFO ][node                     ] [aAmiW40] node name set to [aAmiW40] by default. set the [node.name] settings to change it
[2016-07-15 19:38:39,829][INFO ][env                      ] [aAmiW40] using [1] data paths, mounts [[ /(/dev/disk1)]], net usable_space [5.5gb], net total_space [232.6gb], spins? [unknown], types [hfs]
[2016-07-15 19:38:39,830][INFO ][env                      ] [aAmiW40] heap size [1.9gb], compressed ordinary object pointers [true]
[2016-07-15 19:38:39,837][INFO ][node                     ] [aAmiW40] version[5.0.0-alpha5-SNAPSHOT], pid[46048], build[473d3c0/2016-07-15T17:38:06.771Z], OS[Mac OS X/10.11.5/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_51/25.51-b03]
[2016-07-15 19:38:40,980][INFO ][plugins                  ] [aAmiW40] modules [percolator, lang-mustache, lang-painless, reindex, aggs-matrix-stats, lang-expression, ingest-common, lang-groovy, transport-netty], plugins []
[2016-07-15 19:38:43,218][INFO ][node                     ] [aAmiW40] initialized
```

Needless to say, settings `node.name` explicitly still works as before.

The commit also contains some clean ups to the relationship between Environment, Settings and Plugins. The previous code suggested the path related settings could be changed after the initial Environment was changed. This did not have any effect as the security manager already locked things down.
2016-07-23 22:46:48 +02:00
..
aggregations Docs: Add more points to the chart that gives accuracy for the cardinality aggregation. 2016-07-20 10:37:12 +02:00
analysis Remove wait_for_status=yellow from the docs 2016-07-15 16:02:07 -04:00
cat Update documentation for cat/plugins API 2016-06-30 13:57:43 +02:00
cluster Fix health docs test 2016-07-16 07:18:11 -04:00
docs Support requests_per_second=-1 to mean no throttling in reindex 2016-07-18 13:05:06 -04:00
how-to Add `scaled_float`. #19264 2016-07-18 12:36:23 +02:00
images Docs: Add more points to the chart that gives accuracy for the cardinality aggregation. 2016-07-20 10:37:12 +02:00
index-modules file is -> file name (#18994) 2016-06-21 13:20:56 +02:00
indices corrected the use of two synonymous words (#19498) 2016-07-21 12:21:12 +02:00
ingest docs: fix broken link 2016-07-14 11:12:47 +02:00
mapping Add `scaled_float`. #19264 2016-07-18 12:36:23 +02:00
migration Persistent Node Names (#19456) 2016-07-23 22:46:48 +02:00
modules Enable option to use request cache for size > 0 2016-07-18 13:33:59 +01:00
query-dsl Clarify `function_score` docs. 2016-07-19 10:25:48 +02:00
release-notes Added release notes for 5.0.0-alpha4 2016-06-28 12:26:03 +02:00
search Remove wait_for_status=yellow from the docs 2016-07-15 16:02:07 -04:00
setup Persistent Node Names (#19456) 2016-07-23 22:46:48 +02:00
testing Introduce dedicated master nodes in testing infrastructure (#18514) 2016-05-27 08:44:20 +02:00
aggregations.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
analysis.asciidoc First pass at improving analyzer docs (#18269) 2016-05-11 14:17:56 +02:00
api-conventions.asciidoc Clarify time units usage in docs 2016-06-29 17:02:15 -04:00
cat.asciidoc Add support for documented byte/size units and for micros as a time unit in _cat API 2016-04-15 20:55:41 +02:00
cluster.asciidoc Update task management docs to reflect the latest changes in the interface 2016-03-29 12:26:37 -04:00
docs.asciidoc Add support for waiting until a refresh occurs 2016-06-06 11:37:53 -04:00
getting-started.asciidoc Remove settings and system properties entanglement 2016-05-19 14:08:08 -04:00
glossary.asciidoc Improve glossary to not refer to types as "like a table" (#17704) 2016-04-13 14:29:47 +02:00
how-to.asciidoc Add notes about sparsity. 2016-07-07 17:47:19 +02:00
index-modules.asciidoc Remove `_timestamp` and `_ttl` on 5.x indices. #18980 2016-06-22 08:35:54 +02:00
index.asciidoc Bumped version to 5.0.0-alpha4 2016-06-30 15:20:59 +02:00
indices.asciidoc [DOCS] fix missing rollover-index link 2016-06-17 12:14:45 -04:00
ingest.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
mapping.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
modules.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
query-dsl.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
redirects.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
release-notes.asciidoc Add link to alpha4 release notes 2016-06-30 18:32:15 +02:00
search.asciidoc Add documentation for global search timeout 2016-01-07 10:42:18 -05:00
setup.asciidoc Die with dignity 2016-07-07 14:44:03 -04:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00