Nigel Jones created RANGER-1565:
-----------------------------------
Summary: Make SOLR setup config docs consistent with code
Key: RANGER-1565
URL: https://issues.apache.org/jira/browse/RANGER-1565
Project: Ranger
Issue Type: Bug
Components: audit
Reporter: Nigel Jones
In the Apache ranger setup docs we have a section on Solr configuration at
https://cwiki.apache.org/confluence/display/RANGER/Install+and+Configure+Solr+for+Ranger+Audits+-+Apache+Ranger+0.5
In this doc it refers to setting JAVA_HOME in the install.properties file (the
one in the contrib/ solr setup directory). However when I set this the
./setup.sh still failed with:
# ./setup.sh
Error: JAVA_HOME environment property not defined, aborting installation.
Looking at the code it appears it does NOT pull out JAVA_HOME from the
properties file at all, but relies on it being specified in the environment
Ideally we would update the script to also source JAVA_HOME from
install.properties, in which case the doc can stay as is. If we don't do this
we need to update the docs accordingly.
My proposal is to change the script. Happy to work this if it sounds ok...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)