lucidworks / solr-stack

Ambari stack service for easily installing and managing Solr on HDP cluster
19 stars 13 forks source link

restart overwrite security.json authorization settings #9

Closed acesar closed 7 years ago

acesar commented 7 years ago

From hortonworks Forum

Whenever Solr is restarted using ambari. The security.json is getting overwritten with only authentication class settings. In service start logs:

2016-11-15 09:49:04,767 - Execute['export JAVA_HOME=/usr/jdk64/jdk1.8.0_77; /opt/lucidworks-hdpsearch/solr/server/scripts/cloud-scripts/zkcli.sh -zkhost xxx:2181 -cmd put /solr/security.json '{"authentication":{"class": "org.apache.solr.security.KerberosPlugin"}}''] {'ignore_failures': True, 'user': 'solr'}
acesar commented 7 years ago

The fix was pushed, please see #14