Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-256 Integrate Security with Apache Ranger
  3. HAWQ-1415

Set JAVA_HOME / JRE_HOME for RPS in the scripts

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0.0-incubating
    • Component/s: Security
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              adenissov Alexander Denissov
              Reporter:
              adenissov Alexander Denissov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: