virajjasani commented on PR #5315:
URL: https://github.com/apache/hadoop/pull/5315#issuecomment-1409002069

   Moreover, the main goal of this sub-task is to remove only commons-logging 
references hence I think it would be better to replace Datanode/Namenode async 
logger with SLF4J only (with log4j.properties including async logger).
   
   > If those log4j refs can be hidden entirely within MetricsLoggerTask then 
some reflection games could be done there perhaps. We would have to pass in the 
name of the logger and let that class do any reflection-based look up of the 
actual log.
   
   We have sub-task to introduce hadoop-logging module altogether. The plan is 
to move all log4j appender and other logic to that module and have reflection 
do the work. All hadoop modules to only extend hadoop-logging module.
   But this sub-task is only related to removal of commons-logging. And places 
in hdfs would not be functional even as of today (without this patch) if client 
doesn't include Log4J in the classpath (because dynamically adding appender is 
part of hdfs own logic).


-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to