mesos / kafka

Apache Kafka on Apache Mesos
Apache License 2.0
414 stars 140 forks source link

Support for serving a custom JRE is broken #280

Closed steveniemitz closed 2 years ago

steveniemitz commented 7 years ago

Recent JRE distributions (from oracle at least) package the distribution as jre{version}/bin/java, but the scheduler assumes jre/bin/java. This causes issues obviously.

yu2003w commented 7 years ago

Usually JAVA_HOME is required to be set as jre{version}. Do we need to fix this problem? As user maybe use openjdk, ibm java and so on, is this a real issue?

steveniemitz commented 7 years ago

This isn't referring to a custom JRE installed normally on the host, it's referring to using the -jre parameter to the scheduler, which downloads and unpacks a JRE in the broker sandbox before launching it.