Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this solution

avatar
Super Collaborator

Hello @TouguiOmar,

 

We hope your Q has been addressed by our Post & marking the Post as resolved. If No, Feel free to Update the Post & we shall get back to you accordingly. The Action Plan shared below:

 

(I) Confirm Infra-Solr Service is installed on the concerned Cluster. The same should be installed already for Customer ideally.

 

(II) Connect to the Host wherein Infra-Solr Service is present & fetch the Infra-Solr Service Keytab. Next, List the Collection via Command (### solrctl collection --list) & List Configs via Command (### solrctl instancedir --list).

 

(III) Considering the Error received, the Command (### solrctl collection --list) wouldn't list any "ranger_audits" Collection. Yet, We expect the "ranger_audits" Config to be listed via Command (### solrctl instancedir --list).

 

(IV) Assuming the Command (### solrctl instancedir --list) shows "ranger_audits" & the Command (### solrctl collection --list) doesn't list "ranger_audits", Your team can create the Collection via Command (### solrctl collection --create ranger_audits -s 1 -r 1 -m 1 -c ranger_audits). Once performed, Run the Command (### solrctl collection --list), which should list the "ranger_audits" Collection.

 

(V) Refresh Ranger "Audits" UI & Confirm the Outcome. Your team may require a Restart of Ranger Admin Service after creating the "ranger_audits" Collection.

 

(VI) If Command (### solrctl instancedir --list) doesn't list "ranger_audits" from Step (IV), We need to upload the "ranger_audits" Config via solrctl Command. The "ranger_audits" ConfigSet can be found in Ranger Parcel Directory (Sample Path "/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1029.28168653/lib/ranger-admin/contrib/solr_for_audit_setup/") & uploaded via Command (### solrctl config --upload ranger_audits <Path>). Once Uploaded, the Command (### solrctl instancedir --list) would list "ranger_audits", upon which your Team can create the Collection via Command (### solrctl collection --create ranger_audits -s 1 -r 1 -m 1 -c ranger_audits). Once performed, Run the Command (### solrctl collection --list), which should list the "ranger_audits" Collection.

 

All solrctl Commands are documented in [1] for your team's reference & should be run with Solr-KeyTab.

 

Regards, Smarak

 

[1] https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/search-solrctl-reference/topics/search-solrct...

View solution in original post

Who agreed with this solution