Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executors follow old way of setting JVM heap #600

Open
ror6ax opened this issue Feb 16, 2017 · 2 comments
Open

executors follow old way of setting JVM heap #600

ror6ax opened this issue Feb 16, 2017 · 2 comments

Comments

@ror6ax
Copy link

ror6ax commented Feb 16, 2017

I'm seeing the following

Error: encountered environment variables that are no longer supported
Use jvm.options or ES_JAVA_OPTS to configure the JVM
ES_HEAP_SIZE=192m: set -Xms192m and -Xmx192m in jvm.options or add "-Xms192m -Xmx192m" to ES_JAVA_OPTS

Despite my Marahon task does not have those:

"env": {
"JAVA_OPTS":"-Xms128m -Xmx256m",
"ES_JAVA_OPTS":"-Xms128m -Xmx256m"
}

Scheduler runs ok, the error is only found on executor nodes.

I think that the problem is here

Please advice.

@rstevens011
Copy link

I ran into the same issue. It's only the executors that error out like this.

@chadleeshaw
Copy link

Same issue. Executors do not support the JAVA_OPTS environment variable but the framework will only launch if JAVA_OPTS is set. So basically this framework doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants