We have previously used elasticsearch 2.4 as an maven dependency, deploying it at nexus etc.
But, when upgrading to 5.2, we get "org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: Unsupported transport.type []"
If I just download the zip-file from elasticsearch website, it works as it should.
So why is there a difference between the maven repo version and the downloadable version on ES website?
org.elasticsearch.distribution.zip
elasticsearch
${elasticsearch.version}
zip
I found what was wrong.. When unpacking, I did not unpack /modules.
[2017-02-15T10:39:32,243][INFO ][o.e.b.BootstrapChecks ] [ncYOf4b] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-02-15T10:39:32,250][ERROR][o.e.b.Bootstrap ] [ncYOf4b] node validation exception
bootstrap checks failed
initial heap size [1073741824] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap
max file descriptors [32768] for elasticsearch process is too low, increase to at least [65536]
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
[2017-02-15T10:39:32,252][INFO ][o.e.n.Node ] [ncYOf4b] stopping ...
[2017-02-15T10:39:32,274][INFO ][o.e.n.Node ] [ncYOf4b] stopped
[2017-02-15T10:39:32,274][INFO ][o.e.n.Node ] [ncYOf4b] closing ...
[2017-02-15T10:39:32,292][INFO ][o.e.n.Node ] [ncYOf4b] closed
transport.tcp.port: ${transport.tcp.port}
#
# Set a custom port for HTTP:
#
#https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html
http.port: ${http.port}
http.compression: true
#https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html
network.bind_host: _site_, _local_
network.publish_host: _site_
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when new node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
discovery.zen.ping.unicast.hosts: {$elasticsearch.master.nodes.binary}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.