pradeepagrawal8184 commented on code in PR #965:
URL: https://github.com/apache/ranger/pull/965#discussion_r3289984321
##########
agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerPluginConfig.java:
##########
@@ -346,6 +346,9 @@ private void addResourcesForServiceType(String serviceType)
{
String securityCfg = "ranger-" + serviceType + "-security.xml";
String sslCfg = "ranger-" + serviceType + "-policymgr-ssl.xml";
+ // Needed for UserGroupInformation.isSecurityEnabled() (e.g. Solr
plugin Kerberos to Ranger Admin)
+ addResourceIfReadable("core-site.xml");
Review Comment:
if there is any workaround or this is not needed then we can remove it.
I needed this for solr ; not sure about other plugins.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]