Skip to content

Commit

Permalink
SOLR_HOST condition fix (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
pritishsahoo authored Jul 29, 2020
1 parent 820bea1 commit 4c980cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hive/ranger-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function install_ranger() {
sed -i "s#POLICY_CACHE_FILE_PATH=/etc#POLICY_CACHE_FILE_PATH=/media/ephemeral0/hive_plugin/data#g" enable-hive-plugin.sh

# Enable Solr Configure install.properties
if [[ $SOLR_HOST -ne "" ]]; then
if [[ "$SOLR_HOST" != "" ]]; then
SPOOL_DIR=/media/ephemeral0/logs/ranger/hive/audit/solr
SOLR_URL=http://${SOLR_HOST}:${SOLR_PORT}/solr/ranger_audits

Expand Down

0 comments on commit 4c980cc

Please sign in to comment.