[ 
https://issues.apache.org/jira/browse/KNOX-2850?focusedWorklogId=830679&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-830679
 ]

ASF GitHub Bot logged work on KNOX-2850:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Dec/22 16:11
            Start Date: 02/Dec/22 16:11
    Worklog Time Spent: 10m 
      Work Description: MrtnBalazs commented on code in PR #688:
URL: https://github.com/apache/knox/pull/688#discussion_r1038300204


##########
pom.xml:
##########
@@ -1565,6 +1565,10 @@
                         <groupId>org.slf4j</groupId>
                         <artifactId>slf4j-log4j12</artifactId>
                     </exclusion>
+                    <exclusion>

Review Comment:
   I got this error message after building the project:
   ```
   SLF4J: Class path contains multiple SLF4J bindings.
   SLF4J: Found binding in 
[jar:file:/Users/mbalazs/projects/test/bin/../dep/slf4j-reload4j-1.7.35.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: Found binding in 
[jar:file:/Users/mbalazs/projects/test/bin/../dep/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]
   log4j:WARN No appenders could be found for logger 
(org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
   log4j:WARN Please initialize the log4j system properly.
   ```
   I checked with `mvn dependency:tree` and the hadoop-auth and hadoop-common 
dependency pulled in the new `slf4j`.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 830679)
    Time Spent: 0.5h  (was: 20m)

> Take care of existing java upgrades by dependabot
> -------------------------------------------------
>
>                 Key: KNOX-2850
>                 URL: https://issues.apache.org/jira/browse/KNOX-2850
>             Project: Apache Knox
>          Issue Type: Task
>          Components: Server
>            Reporter: Sandor Molnar
>            Assignee: Marton Balázs
>            Priority: Major
>         Attachments: Screenshot 2022-12-01 at 11.22.23.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Similarly to KNOX-2834, there is a list of Java upgrades indicated by 
> Apache's {{dependabot}} which we need to upgrade in Knox (see attached 
> screenshot).
> Please upgrade them as listed and conduct a decent level of testing.



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

Reply via email to