ElasticSearch install stuck

Hello,

I am trying to install elasticsearch 7.12 in windows 2016.

It's been stuck for like an hour at somepoint:

[2021-03-26T15:55:23,770][INFO ][o.e.p.PluginsService     ] [WIN-PP7D4702OPT] loaded module [x-pack-security]
[2021-03-26T15:55:23,770][INFO ][o.e.p.PluginsService     ] [WIN-PP7D4702OPT] loaded module [x-pack-sql]
[2021-03-26T15:55:23,770][INFO ][o.e.p.PluginsService     ] [WIN-PP7D4702OPT] loaded module [x-pack-stack]
[2021-03-26T15:55:23,770][INFO ][o.e.p.PluginsService     ] [WIN-PP7D4702OPT] loaded module [x-pack-text-structure]
[2021-03-26T15:55:23,786][INFO ][o.e.p.PluginsService     ] [WIN-PP7D4702OPT] loaded module [x-pack-voting-only-node]
[2021-03-26T15:55:23,786][INFO ][o.e.p.PluginsService     ] [WIN-PP7D4702OPT] loaded module [x-pack-watcher]
[2021-03-26T15:55:23,786][INFO ][o.e.p.PluginsService     ] [WIN-PP7D4702OPT] no plugins loaded
[2021-03-26T15:55:24,036][INFO ][o.e.e.NodeEnvironment    ] [WIN-PP7D4702OPT] using [1] data paths, mounts [[(C:)]], net usable_space [86gb], net total_space [99.5gb], types [NTFS]
[2021-03-26T15:55:24,036][INFO ][o.e.e.NodeEnvironment    ] [WIN-PP7D4702OPT] heap size [8gb], compressed ordinary object pointers [true]
[2021-03-26T15:55:24,083][INFO ][o.e.n.Node               ] [WIN-PP7D4702OPT] node name [WIN-PP7D4702OPT], node ID [F83BdAjiQma-__6UDtg4HA], cluster name [elasticsearch], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2021-03-26T15:55:30,719][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [WIN-PP7D4702OPT] [controller/2584] [Main.cc@117] controller (64 bit): Version 7.12.0 (Build 778cc7261dfdd1) Copyright (c) 2021 Elasticsearch BV
[2021-03-26T15:55:31,609][INFO ][o.e.x.s.a.s.FileRolesStore] [WIN-PP7D4702OPT] parsed [0] roles from file [C:\Users\Administrator\Desktop\elasticsearch-kibana\elastic 7.1.12.0\elasticsearch-7.12.0\config\roles.yml]
[2021-03-26T15:55:33,531][INFO ][o.e.t.NettyAllocator     ] [WIN-PP7D4702OPT] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
[2021-03-26T15:55:33,640][INFO ][o.e.d.DiscoveryModule    ] [WIN-PP7D4702OPT] using discovery type [zen] and seed hosts providers [settings]
[2021-03-26T15:55:34,265][INFO ][o.e.g.DanglingIndicesState] [WIN-PP7D4702OPT] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2021-03-26T15:55:34,931][INFO ][o.e.n.Node               ] [WIN-PP7D4702OPT] initialized
[2021-03-26T15:55:34,931][INFO ][o.e.n.Node               ] [WIN-PP7D4702OPT] starting ...
[2021-03-26T15:55:34,962][INFO ][o.e.x.s.c.PersistentCache] [WIN-PP7D4702OPT] persistent cache index loaded
[2021-03-26T15:55:35,113][INFO ][o.e.t.TransportService   ] [WIN-PP7D4702OPT] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300}
[2021-03-26T15:55:35,363][WARN ][o.e.b.BootstrapChecks    ] [WIN-PP7D4702OPT] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
[2021-03-26T15:55:35,378][INFO ][o.e.c.c.ClusterBootstrapService] [WIN-PP7D4702OPT] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2021-03-26T15:55:38,397][INFO ][o.e.c.c.Coordinator      ] [WIN-PP7D4702OPT] setting initial configuration to VotingConfiguration{F83BdAjiQma-__6UDtg4HA}
[2021-03-26T15:55:38,621][INFO ][o.e.c.s.MasterService    ] [WIN-PP7D4702OPT] elected-as-master ([1] nodes joined)[{WIN-PP7D4702OPT}{F83BdAjiQma-__6UDtg4HA}{1GxHOSKqQsmUjgj8aHyOEg}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{ml.machine_memory=17179398144, xpack.installed=true, transform.node=true, ml.max_open_jobs=20, ml.max_jvm_size=8589934592} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 1, version: 1, delta: master node changed {previous [], current [{WIN-PP7D4702OPT}{F83BdAjiQma-__6UDtg4HA}{1GxHOSKqQsmUjgj8aHyOEg}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{ml.machine_memory=17179398144, xpack.installed=true, transform.node=true, ml.max_open_jobs=20, ml.max_jvm_size=8589934592}]}
[2021-03-26T15:55:38,746][INFO ][o.e.c.c.CoordinationState] [WIN-PP7D4702OPT] cluster UUID set to [95yA2zXYTNeTpoHs2zeq9Q]
[2021-03-26T15:55:38,887][INFO ][o.e.c.s.ClusterApplierService] [WIN-PP7D4702OPT] master node changed {previous [], current [{WIN-PP7D4702OPT}{F83BdAjiQma-__6UDtg4HA}{1GxHOSKqQsmUjgj8aHyOEg}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{ml.machine_memory=17179398144, xpack.installed=true, transform.node=true, ml.max_open_jobs=20, ml.max_jvm_size=8589934592}]}, term: 1, version: 1, reason: Publication{term=1, version=1}
[2021-03-26T15:55:38,956][INFO ][o.e.h.AbstractHttpServerTransport] [WIN-PP7D4702OPT] publish_address {127.0.0.1:9200}, bound_addresses {127.0.0.1:9200}, {[::1]:9200}
[2021-03-26T15:55:38,956][INFO ][o.e.n.Node               ] [WIN-PP7D4702OPT] started
[2021-03-26T15:55:38,956][INFO ][o.e.x.c.t.IndexTemplateRegistry] [WIN-PP7D4702OPT] adding legacy template [.ml-anomalies-] for [ml], because it doesn't exist
[2021-03-26T15:55:38,956][INFO ][o.e.x.c.t.IndexTemplateRegistry] [WIN-PP7D4702OPT] adding legacy template [.ml-state] for [ml], because it doesn't exist
[2021-03-26T15:55:38,956][INFO ][o.e.x.c.t.IndexTemplateRegistry] [WIN-PP7D4702OPT] adding legacy template [.ml-notifications-000001] for [ml], because it doesn't exist
[2021-03-26T15:55:38,967][INFO ][o.e.x.c.t.IndexTemplateRegistry] [WIN-PP7D4702OPT] adding legacy template [.ml-stats] for [ml], because it doesn't exist
[2021-03-26T15:55:39,142][INFO ][o.e.g.GatewayService     ] [WIN-PP7D4702OPT] recovered [0] indices into cluster_state
[2021-03-26T15:55:39,457][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding template [.ml-stats] for index patterns [.ml-stats-*]
[2021-03-26T15:55:39,613][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding template [.ml-notifications-000001] for index patterns [.ml-notifications-000001]
[2021-03-26T15:55:39,785][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding template [.ml-anomalies-] for index patterns [.ml-anomalies-*]
[2021-03-26T15:55:39,926][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding template [.ml-state] for index patterns [.ml-state*]
[2021-03-26T15:55:40,066][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding component template [logs-mappings]
[2021-03-26T15:55:40,207][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding component template [logs-settings]
[2021-03-26T15:55:40,368][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding component template [metrics-mappings]
[2021-03-26T15:55:40,524][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding index template [.watch-history-13] for index patterns [.watcher-history-13*]
[2021-03-26T15:55:40,778][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding index template [.triggered_watches] for index patterns [.triggered_watches*]
[2021-03-26T15:55:40,963][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding index template [.watches] for index patterns [.watches*]
[2021-03-26T15:55:41,119][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding index template [ilm-history] for index patterns [ilm-history-5*]
[2021-03-26T15:55:41,275][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding index template [.slm-history] for index patterns [.slm-history-5*]
[2021-03-26T15:55:41,416][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding component template [synthetics-mappings]
[2021-03-26T15:55:41,572][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding component template [metrics-settings]
[2021-03-26T15:55:41,728][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding component template [synthetics-settings]
[2021-03-26T15:55:41,877][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding template [.monitoring-alerts-7] for index patterns [.monitoring-alerts-7]
[2021-03-26T15:55:42,017][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding template [.monitoring-es] for index patterns [.monitoring-es-7-*]
[2021-03-26T15:55:42,189][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding template [.monitoring-kibana] for index patterns [.monitoring-kibana-7-*]
[2021-03-26T15:55:42,361][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding template [.monitoring-logstash] for index patterns [.monitoring-logstash-7-*]
[2021-03-26T15:55:42,539][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding template [.monitoring-beats] for index patterns [.monitoring-beats-7-*]
[2021-03-26T15:55:42,867][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding index template [logs] for index patterns [logs-*-*]
[2021-03-26T15:55:43,180][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding index template [metrics] for index patterns [metrics-*-*]
[2021-03-26T15:55:43,478][INFO ][o.e.c.m.MetadataIndexTemplateService] [WIN-PP7D4702OPT] adding index template [synthetics] for index patterns [synthetics-*-*]
[2021-03-26T15:55:43,775][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [WIN-PP7D4702OPT] adding index lifecycle policy [ml-size-based-ilm-policy]
[2021-03-26T15:55:44,213][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [WIN-PP7D4702OPT] adding index lifecycle policy [ilm-history-ilm-policy]
[2021-03-26T15:55:44,495][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [WIN-PP7D4702OPT] adding index lifecycle policy [metrics]
[2021-03-26T15:55:44,776][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [WIN-PP7D4702OPT] adding index lifecycle policy [logs]
[2021-03-26T15:55:45,057][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [WIN-PP7D4702OPT] adding index lifecycle policy [watch-history-ilm-policy]
[2021-03-26T15:55:45,730][INFO ][o.e.l.LicenseService     ] [WIN-PP7D4702OPT] license [6b900839-dacd-4b6c-80f6-7c882970c32a] mode [basic] - valid
[2021-03-26T15:55:45,730][INFO ][o.e.x.s.s.SecurityStatusChangeListener] [WIN-PP7D4702OPT] Active license is now [BASIC]; Security is disabled
[2021-03-26T15:55:45,730][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [WIN-PP7D4702OPT] adding index lifecycle policy [slm-history-ilm-policy]
[2021-03-26T15:55:45,997][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [WIN-PP7D4702OPT] adding index lifecycle policy [synthetics]

Can you help me to understand what's going in here?

Looks like it's working fine to me. In what sense is it stuck?

1 Like

Thanks for the quick answer!

Well the command prompt looks like this for the past 2 hours, will it say like "installation completed" or will it automatically exits the cmd when the installation finished?

Thanks,
Mert

No. It's just running. All fine.

You did not "install" it as per say but launched it.

If you want to "install" it, like as a service, please check this documentation: Install Elasticsearch with Windows MSI Installer | Elasticsearch Reference [7.12] | Elastic

2 Likes

Well i see now, thanks for the assistance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.