[
https://issues.apache.org/jira/browse/RANGER-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
peng.jianhua updated RANGER-1473:
---------------------------------
Description:
The installer used the RANGER_AUDITS_DATA_FOLDER attribute value in Install and
Configure Solr for Ranger Audits. There is no RANGER_AUDITS_DATA_FOLDER
attribute in install.properties. In the following clause the intention of the
installer is to replace the value of the RANGER_AUDITS_DATA_FOLDER in
dataDir=RANGER_AUDITS_DATA_FOLDER of core.properties.j2. So we should remove
invalid clause.
sed "s#{{RANGER_AUDITS_DATA_FOLDER}}#$SOLR_RANGER_DATA_FOLDER#g"
$SOLR_RANGER_HOME/${SOLR_RANGER_COLLECTION}/core.properties.j2 >
$SOLR_RANGER_HOME/${SOLR_RANGER_COLLECTION}/core.properties
was:The installer used the RANGER_AUDITS_DATA_FOLDER attribute value in
Install and Configure Solr for Ranger Audits. The intention of the installer is
to replace the value of the {{RANGER_AUDITS_DATA_FOLDER}} in
dataDir={{RANGER_AUDITS_DATA_FOLDER}} of core.properties.j2. So we should
remove invalid clause.
> There is invalid clause in the installer for Install and Configure Solr for
> Ranger Audits
> ------------------------------------------------------------------------------------------
>
> Key: RANGER-1473
> URL: https://issues.apache.org/jira/browse/RANGER-1473
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Reporter: peng.jianhua
> Assignee: peng.jianhua
> Priority: Minor
> Labels: patch
> Attachments:
> 0001-RANGER-1473-There-is-invalid-clause-in-the-installer.patch
>
>
> The installer used the RANGER_AUDITS_DATA_FOLDER attribute value in Install
> and Configure Solr for Ranger Audits. There is no RANGER_AUDITS_DATA_FOLDER
> attribute in install.properties. In the following clause the intention of the
> installer is to replace the value of the RANGER_AUDITS_DATA_FOLDER in
> dataDir=RANGER_AUDITS_DATA_FOLDER of core.properties.j2. So we should remove
> invalid clause.
> sed "s#{{RANGER_AUDITS_DATA_FOLDER}}#$SOLR_RANGER_DATA_FOLDER#g"
> $SOLR_RANGER_HOME/${SOLR_RANGER_COLLECTION}/core.properties.j2 >
> $SOLR_RANGER_HOME/${SOLR_RANGER_COLLECTION}/core.properties
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)