We had earlier version(1.75) of ES running and now we are trying to upgrade to 5,2 as per the upgrade guidelines. I'm trying to set up a parallel cluster and getting below Error while starting ES:
Error: encountered environment variables that are no longer supported
use jvm.options or ES_JAVA_OPTS to configure the JVM
ES_HEAP_SIZE=4g: set -Xms4g and -Xmx4g in jvm.options or add @-Xms4g -Xmx4g@ to ES_JAVA_OPTS
Although, jvm.options file already contains these setting by default.
Please suggest what needs to be done.