mesos / elasticsearch

Elasticsearch on Mesos
Apache License 2.0
242 stars 90 forks source link

Java not found when executor is run (running in jar mode #583

Open vishr opened 8 years ago

vishr commented 8 years ago

I am getting the following error when while running the executor:

Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME Command exited with status 1 (pid: 83141)

I have specified --javaHome=/opt/mesosphere/bin/java, I also tried /opt/mesosphere/active/java/usr/java but JAVA_HOME is not set and the executor fails to run. I couldn't even find a way to download jre using uri.

Any ideas?

krishnabigdata commented 8 years ago

Hi,

Let me know from where you are running this ? can you please share more details.