Vyom Mani Tiwari created RANGER-5664:
----------------------------------------

             Summary: hive-agent module fails all tests that trigger SLF4J 
logger initialization due to conflicting SLF4J bindings on the test classpath
                 Key: RANGER-5664
                 URL: https://issues.apache.org/jira/browse/RANGER-5664
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Vyom Mani Tiwari
            Assignee: Vyom Mani Tiwari


{{hive-agent/pom.xml}} declares {{org.slf4j:log4j-over-slf4j}} as a direct 
test-scoped dependency, alongside {{slf4j-reload4j}} which is used as the 
project's actual SLF4J binding. These two are mutually incompatible: 
{{log4j-over-slf4j}} bridges legacy {{log4j}} API calls into SLF4J, while 
{{slf4j-reload4j}} is an SLF4J binding that delegates back out to reload4j (a 
log4j 1.2 fork). Having both on the classpath simultaneously creates a circular 
delegation path, which SLF4J detects and deliberately fails fast on rather than 
risk a {{{}StackOverflowError{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to