OpenSearch/qa
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
..
ccs-unavailable-clusters Include fallback settings when checking dependencies (#33522) 2018-09-07 20:09:53 -04:00
die-with-dignity Refactor Netty4Utils#maybeDie (#33021) 2018-08-22 10:18:07 -04:00
evil-tests Core: Default node.name to the hostname (#33677) 2018-09-19 15:21:29 -04:00
full-cluster-restart Revert "Mute FullClusterRestartSettingsUpgradeIT" 2018-09-14 05:55:46 -04:00
mixed-cluster Fix BwC Tests looking for UUID Pre 6.4 (#32158) 2018-07-18 15:32:36 +02:00
multi-cluster-search Generalize search.remote settings to cluster.remote (#33413) 2018-09-05 20:43:44 -04:00
no-bootstrap-tests Plugins: Remove meta plugins (#30670) 2018-05-18 10:56:08 -07:00
rolling-upgrade Mute testRecoveryWithConcurrentIndexing 2018-09-13 11:53:43 -04:00
smoke-test-client Revert upgrade to Netty 4.1.25.Final (#31282) 2018-06-12 19:26:18 -04:00
smoke-test-http Docs: Fixed a grammatical mistake: 'a HTTP ...' -> 'an HTTP ...' (#33744) 2018-09-17 15:35:54 -04:00
smoke-test-ingest-disabled Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-ingest-with-all-dependencies INGEST: Add Configuration Except. Data to Metdata (#32322) 2018-08-15 19:02:19 +02:00
smoke-test-multinode QA: System property to override distribution (#30591) 2018-05-15 17:16:16 -04:00
smoke-test-plugins Move repository-s3 fixture tests to QA test project (#29372) 2018-04-27 16:49:06 +02:00
unconfigured-node-name Core: Default node.name to the hostname (#33677) 2018-09-19 15:21:29 -04:00
vagrant add elasticsearch-shard tool (#32281) 2018-09-19 10:28:22 +02:00
verify-version-constants Switch non-x-pack to new style requests (#32106) 2018-07-16 17:44:19 -04:00
wildfly Unmute WildFly tests in FIPS JVM (#32814) 2018-08-13 21:08:10 +03:00
build.gradle QA: Fix resolution of default distribution (#31351) 2018-06-14 18:25:47 -04:00