On 9/1/2021 2:48 PM, jrballestero...@tutanota.com.INVALID wrote:
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
<snip>
As I understand this warning should be if I use HDFS or Hadoop Authentication 
but this is not the case.

Since you're not using HDFS, you don't need logs from hadoop.  In your log4j2.xml file, you probably have this line in the <Loggers> Section:

    <Logger name="org.apache.hadoop" level="warn"/>

If you simply change "warn" to "off" on that line, that should suppress all logging from hadoop classes, and give you the results you're after.

If you don't have that line, download the latest Solr and find log4j2.xml in the archive, see how it is constructed, and then adjust your own log4j2.xml accordingly.

We really should track down why a hadoop class is getting involved when you are not using HDFS, but that's probably going to take a lot of effort and I don't even know where to begin.

(note that if you are running a Solr version before 7.4, your config will not be in log4j2.xml, it will probably be in log4j.properties ... and if you're running a REALLY old version, then the log config could be in an unknown location.)

Thanks,
Shawn

Reply via email to