# Error while setting up a parallel cluster to upgrade

**URL:** <https://discuss.elastic.co/t/error-while-setting-up-a-parallel-cluster-to-upgrade/75159>\
**Category:** Elasticsearch\
**Created:** [February 15, 2017, 8:32am UTC](https://discuss.elastic.co/t/error-while-setting-up-a-parallel-cluster-to-upgrade/75159 "2017-02-15T08:32:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ImdotnetJunkie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imdotnetjunkie/32/15514_2.png) [@ImdotnetJunkie](https://discuss.elastic.co/u/ImdotnetJunkie)\
**Post date:** [February 15, 2017, 8:32am UTC](https://discuss.elastic.co/t/error-while-setting-up-a-parallel-cluster-to-upgrade/75159/1 "2017-02-15T08:32:42Z")

</div>

Hi

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 15, 2017, 8:33am UTC](https://discuss.elastic.co/t/error-while-setting-up-a-parallel-cluster-to-upgrade/75159/2 "2017-03-15T08:33:04Z")

</div>

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