elasticsearch/docs/reference
Nik Everett 26c4f1fb6c
Core: Default node.name to the hostname (#33677)
Changes the default of the `node.name` setting to the hostname of the
machine on which Elasticsearch is running. Previously it was the first 8
characters of the node id. This had the advantage of producing a unique
name even when the node name isn't configured but the disadvantage of
being unrecognizable and not being available until fairly late in the
startup process. Of particular interest is that it isn't available until
after logging is configured. This forces us to use a volatile read
whenever we add the node name to the log.

Using the hostname is available immediately on startup and is generally
recognizable but has the disadvantage of not being unique when run on
machines that don't set their hostname or when multiple elasticsearch
processes are run on the same host. I believe that, taken together, it
is better to default to the hostname.

1. Running multiple copies of Elasticsearch on the same node is a fairly
advanced feature. We do it all the as part of the elasticsearch build
for testing but we make sure to set the node name then.
2. That the node.name defaults to some flavor of "localhost" on an
unconfigured box feels like it isn't going to come up too much in
production. I expect most production deployments to at least set the
hostname.

As a bonus, production deployments need no longer set the node name in
most cases. At least in my experience most folks set it to the hostname
anyway.
2018-09-19 15:21:29 -04:00
..
aggregations Corrected aggregation name to match the example (#33786) 2018-09-17 18:24:43 -07:00
analysis Allow TokenFilterFactories to rewrite themselves against their preceding chain (#33702) 2018-09-19 15:52:14 +01:00
cat Remove discovery-file plugin (#33257) 2018-09-18 12:01:16 +01:00
cluster [Docs] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
commands add elasticsearch-shard tool (#32281) 2018-09-19 10:28:22 +02:00
docs Revert "Do NOT allow termvectors on nested fields (#32728)" 2018-08-24 10:12:16 -04:00
how-to Upgrade to a Lucene 8 snapshot (#33310) 2018-09-06 14:42:06 +02:00
images DOC: Add SQL section on client applications 2018-09-13 15:44:52 +03:00
index-modules add elasticsearch-shard tool (#32281) 2018-09-19 10:28:22 +02:00
indices Merge branch 'master' into ccr 2018-07-31 10:56:10 -04:00
ingest ingest: Introduce the dissect processor (#32884) 2018-08-28 07:11:20 -07:00
licensing [DOCS] Fix licensing API details (#31667) 2018-06-28 15:38:41 -07:00
mapping New plugin - Annotated_text field type (#30364) 2018-09-18 10:25:27 +01:00
migration Core: Default node.name to the hostname (#33677) 2018-09-19 15:21:29 -04:00
ml [DOCS] Adds delete forecast API (#33401) 2018-09-06 09:20:42 -07:00
modules Emphasize that filesystem-level backups don't work (#33102) 2018-09-19 08:36:03 +01:00
monitoring Implement xpack.monitoring.elasticsearch.collection.enabled setting (#33474) 2018-09-17 18:33:43 -07:00
query-dsl [DOCS] Clarify scoring for multi_match phrase type (#32672) 2018-09-18 16:57:33 +02:00
release-notes serialize suggestion responses as named writeables (#30284) 2018-08-07 13:31:00 -07:00
rest-api [DOCS] Moves machine learning APIs to docs folder (#31118) 2018-08-31 16:49:24 -07:00
rollup [DOCS] fix a couple of typos (#33356) 2018-09-04 10:07:11 +02:00
search [DOCS] Update scroll.asciidoc (#32530) 2018-09-18 17:00:22 +02:00
security [DOCS] Moves security reference to docs folder (#33643) 2018-09-14 13:09:47 -07:00
settings Implement xpack.monitoring.elasticsearch.collection.enabled setting (#33474) 2018-09-17 18:33:43 -07:00
setup Core: Default node.name to the hostname (#33677) 2018-09-19 15:21:29 -04:00
sql DOC: improved wording in SQL client app section 2018-09-13 22:07:23 +03:00
testing [Docs] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
upgrade [Test] Remove duplicate method in TestShardRouting (#32815) 2018-09-10 18:29:00 +02:00
aggregations.asciidoc [Docs] Update aggregations.asciidoc (#29265) 2018-03-28 15:01:45 +02:00
analysis.asciidoc [Docs] Add clarification to analysis example (#31826) 2018-07-06 14:36:58 +02:00
api-conventions.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
cat.asciidoc Rename the bulk thread pool to write thread pool (#29593) 2018-04-19 08:18:58 -04:00
cluster.asciidoc Update docs for node specifications (#30468) 2018-08-20 14:21:31 +01:00
docs.asciidoc Inclusion of link to Multi Delete (#22619) 2017-01-16 12:58:59 +01:00
getting-started.asciidoc Core: Default node.name to the hostname (#33677) 2018-09-19 15:21:29 -04:00
glossary.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
gs-index.asciidoc [DOCS] Adding index file for GS "mini book". 2017-07-18 13:44:08 -07:00
how-to.asciidoc Correct grammar in list in how-to docs 2017-01-17 20:57:22 -05:00
index-modules.asciidoc [DOCS] Fixes formatting error 2018-09-07 10:26:44 -07:00
index.asciidoc [DOCS] Moves monitoring pages to docs folder (#33324) 2018-09-04 10:02:13 -07:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#30707) 2018-05-18 11:05:40 -07:00
indices.asciidoc add split index reference in indices.asciidoc 2017-11-06 12:55:41 +01:00
ingest.asciidoc [Docs] Changes to ingest.asciidoc (#28212) 2018-01-16 09:36:19 +01:00
mapping.asciidoc Don't count metadata fields towards index.mapping.total_fields.limit (#33386) 2018-09-05 18:27:21 +02:00
modules.asciidoc Remove left-over tribe reference 2018-01-30 21:44:21 +01:00
query-dsl.asciidoc Update query-dsl.asciidoc (#27669) 2017-12-11 18:06:08 +01:00
redirects.asciidoc Upgrade to a Lucene 8 snapshot (#33310) 2018-09-06 14:42:06 +02:00
release-notes.asciidoc Migrate migration docs from 6.0 to 7.0 (#26227) 2017-08-16 13:12:44 -06:00
search.asciidoc [Docs] Add search timeout caveats (#33354) 2018-09-03 20:56:05 +02:00
setup.asciidoc [DOCS] Starting Elasticsearch (#31701) 2018-07-03 13:40:37 -07:00
testing.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
upgrade.asciidoc Revert "[DOCS] Added 6.3 info & updated the upgrade table. (#30940)" 2018-06-11 22:04:36 -04:00