I have installed 5.6.4 Zip file. While starting Elasticsearch getting below error
./bin/elasticsearch
Error: encountered environment variables that are no longer supported
Use jvm.options or ES_JAVA_OPTS to configure the JVM
ES_HEAP_SIZE=10g: set -Xms10g and -Xmx10g in jvm.options or add "-Xms10g -Xmx10g" to ES_JAVA_OPTS
I have set the Heap Size in JVM.options as 15g. Please find the below.
In JVM.options i have set the below
# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space
-Xms15g
-Xmx15g
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.