Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

SAP Hana Spark Controller: JAVA_HOME not found

SAP Hana Spark Controller: JAVA_HOME not found

New Contributor



I got a 4-Node Cloudera Cluster. But the SAP Hana Spark Controller isn´t able to start.

stderr says:

Error: JAVA_HOME is not set and could not be found.

Although ‘Export JAVA_HOME for hanaes user’ is set to /usr/java/jdk1.7.0_67-cloudera which is the root JAVA_HOME too.

It seems that this parameter isn´t processed. Is there a way I can use such a ‘advanced parameter…safety’ or how is it possible to start the Controller?

If I edit the it will be overwritten by cloudera while starting the service.