Hello, I wrote to the mailing list because I don't know how to get rid of that warning properly. A person who replied me in the mailing list asked me to open a Jira issue for this:
I configured Solr authentication this guide:
Everything is working OK, I just receive this warning message so often:
2021-09-01 20:29:46.789 WARN (qtp1533985074-61) [ ] o.a.h.s.a.u.KerberosName auth_to_local rule mechanism not set.Using default of hadoop
I don't know what to do to get rid of this. I personally want to make a right configuration in the right fil*e instead of just disabling the warning*.
I just configured the "solr.kerberos.name <http://solr.kerberos.name>.rules" in the solr.in.sh <http://solr.in.sh>; but it seems to be ignored. I don't know if I have to make an extra configuration in the FreeIPA or maybe I am missing another configuration file. As I understand this warning should be if I use HDFS or Hadoop Authentication but this is not the case.
This is the content of my "solr.in.sh" file:
# Settings for ZK ACL
-DzkDigestUsername=admin-user -DzkDigestPassword=anypassword \
# Enables HTTPS. It is implicitly true if you set SOLR_SSL_KEY_STORE. Use this config
# to enable https module with custom jetty configuration.
# Uncomment to set SSL-related system properties
# Be sure to update the paths to the correct keystore for your environment
# Require clients to authenticate
# Enable clients to authenticate (but not require)
# SSL Certificates contain host/ip "peer name" information that is validated by default. Setting
# this to false can be useful to disable these checks when re-using a certificate on many hosts
At the moment I just modified the file log4j2.xml with this content:
<AsyncLogger name="org.apache.hadoop.security.authentication.util.KerberosName" level="off"/>
I could disable the warning but as I said I would like to know another way different to this.