[
https://issues.apache.org/jira/browse/HAWQ-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951390#comment-15951390
]
Alexander Denissov commented on HAWQ-1415:
------------------------------------------
Work has been done by [~lavjain]
> Set JAVA_HOME / JRE_HOME for RPS in the scripts
> -----------------------------------------------
>
> Key: HAWQ-1415
> URL: https://issues.apache.org/jira/browse/HAWQ-1415
> Project: Apache HAWQ
> Issue Type: Sub-task
> Components: Security
> Reporter: Alexander Denissov
> Assignee: Alexander Denissov
> Fix For: backlog
>
>
> JAVA_HOME or JRE_HOME need to be set for RPS to run. Ambari installs JDK
> under /usr/jdk64 by default. Until Ambari starts managing RPS, we should do
> the following:
> - discover the JDK under /usr/jdk64
> - if found, set this value as default value for JAVA_HOME property in
> rps.properties
> - export JAVA_HOME in rps.sh
> If the JDK is not available in /usr/jdk64, warn the user that JAVA_HOME must
> be setup. The logic can go into enable-ranger-plugin.sh script.
> Once Ambari starts managing the RPS configuration, the default can be changed
> to /usr/java/default targeted for non-Ambari installations.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)