You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "kumaab (via GitHub)" <gi...@apache.org> on 2023/06/07 04:36:38 UTC
[GitHub] [ranger] kumaab opened a new pull request, #263: RANGER-4248: Remove unused conf files for solr audit setup
kumaab opened a new pull request, #263:
URL: https://github.com/apache/ranger/pull/263
## What changes were proposed in this pull request?
There is no content in these files and can be safely removed:
1. security-admin/contrib/solr_for_audit_setup/conf/admin-extra.html
2. security-admin/contrib/solr_for_audit_setup/conf/admin-extra.menu-bottom.html
3. security-admin/contrib/solr_for_audit_setup/conf/admin-extra.menu-top.html
This one was probably used for testing purposes and can be removed as well:
1. security-admin/contrib/solr_for_audit_setup/conf/elevate.xml
## How was this patch tested?
Todo
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] RANGER-4248: Remove unused conf files for solr audit setup [ranger]
Posted by "kumaab (via GitHub)" <gi...@apache.org>.
kumaab commented on PR #263:
URL: https://github.com/apache/ranger/pull/263#issuecomment-2484274911
`elevate.xml` is optional for solr collection creation. `solrconfig.xml.j2` is a template file, is it getting used anywhere?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] RANGER-4248: Remove unused conf files for solr audit setup [ranger]
Posted by "JiaLiangC (via GitHub)" <gi...@apache.org>.
JiaLiangC commented on PR #263:
URL: https://github.com/apache/ranger/pull/263#issuecomment-2484556935
> solrconfig.xml
it is used in apache ambari project, so you mean i should just use solrconfig.xml instead of solrconfig.xml.j2 ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] RANGER-4248: Remove unused conf files for solr audit setup [ranger]
Posted by "JiaLiangC (via GitHub)" <gi...@apache.org>.
JiaLiangC commented on PR #263:
URL: https://github.com/apache/ranger/pull/263#issuecomment-2478028921
@kumaab @rameeshm
In the Ranger Solr setup, due to the following configuration in [this file](https://github.com/apache/ranger/blob/master/security-admin/contrib/solr_for_audit_setup/conf/solrconfig.xml.j2):
```xml
<searchComponent name="elevator" class="solr.QueryElevationComponent">
<!-- pick a fieldType to analyze queries -->
<str name="queryFieldType">string</str>
<str name="config-file">elevate.xml</str>
</searchComponent>
```
If the `elevate.xml` file is missing, when Ranger uses the API to create the collection during Solr setup, an error will occur:
```
ERROR [ ] org.apache.solr.common.SolrException (SolrException.java:164) - org.apache.solr.common.SolrException: Error CREATEing SolrCore 'ranger_audits_shard1_replica_n1': Unable to create core [ranger_audits_shard1_replica_n1] Caused by: Can't find resource 'elevate.xml' in classpath or '/configs/ranger_audits', cwd=/usr/lib/ambari-infra-solr/server
org.apache.solr.common.SolrException: Error CREATEing SolrCore 'ranger_audits_shard1_replica_n1': Unable to create core [ranger_audits_shard1_replica_n1] Caused by: Can't find resource 'elevate.xml' in classpath or '/configs/ranger_audits', cwd=/usr/lib/ambari-infra-solr/server
```
So, can I submit a PR to fix this issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [ranger] kumaab merged pull request #263: RANGER-4248: Remove unused conf files for solr audit setup
Posted by "kumaab (via GitHub)" <gi...@apache.org>.
kumaab merged PR #263:
URL: https://github.com/apache/ranger/pull/263
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org