Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In existing implementation, JAVA_HOME is automatically detected in /usr/lib/bigtop-utils/bigtop-detect-javahome if JAVA_HOME is not configured. If some component configure JAVA_HOME and some component doesn't configure JAVA_HOME by mistake, different component may use different JAVA_HOME. In this case, it is not easy to find JAVA_HOME difference in different components.
We may improve:
1. WARNING message is generated if JAVA_HOME is not configured in /usr/lib/bigtop-utils/bigtop-detect-javahome.
or 2. We may disable JAVA_HOME auto detection and use JAVA_HOME from /etc/default/bigtop-utils