[ https://issues.apache.org/jira/browse/KAFKA-7009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ewen Cheslack-Postava resolved KAFKA-7009. ------------------------------------------ Resolution: Fixed Fix Version/s: 2.1.0 0.11.0.3 0.10.2.2 0.10.1.2 0.10.0.2 Issue resolved by pull request 5151 [https://github.com/apache/kafka/pull/5151] > Mute logger for reflections.org at the warn level in system tests > ----------------------------------------------------------------- > > Key: KAFKA-7009 > URL: https://issues.apache.org/jira/browse/KAFKA-7009 > Project: Kafka > Issue Type: Improvement > Components: KafkaConnect, system tests > Affects Versions: 1.1.0 > Reporter: Randall Hauch > Assignee: Randall Hauch > Priority: Critical > Fix For: 0.10.0.2, 0.10.1.2, 0.10.2.2, 2.0.0, 0.11.0.3, 2.1.0 > > > AK's Log4J configuration file for Connect includes [these > lines|https://github.com/apache/kafka/blob/trunk/config/connect-log4j.properties#L25]: > {code} > log4j.logger.org.apache.zookeeper=ERROR > log4j.logger.org.I0Itec.zkclient=ERROR > log4j.logger.org.reflections=ERROR > {code} > The last one suppresses lots of Reflections warnings like the following that > are output during classpath scanning and are harmless: > {noformat} > [2018-06-06 13:52:39,448] WARN could not create Vfs.Dir from url. ignoring > the exception and continuing (org.reflections.Reflections) > org.reflections.ReflectionsException: could not create Vfs.Dir from url, no > matching UrlType was found > [file:/usr/bin/../share/java/confluent-support-metrics/*] > either use fromURL(final URL url, final List<UrlType> urlTypes) or use the > static setDefaultURLTypes(final List<UrlType> urlTypes) or > addDefaultURLTypes(UrlType urlType) with your specialized UrlType. > at org.reflections.vfs.Vfs.fromURL(Vfs.java:109) > at org.reflections.vfs.Vfs.fromURL(Vfs.java:91) > at org.reflections.Reflections.scan(Reflections.java:240) > at > org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader$InternalReflections.scan(DelegatingClassLoader.java:373) > at org.reflections.Reflections$1.run(Reflections.java:198) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > {noformat} > The last line also need to be added to [Connect's Log4J configuration file in > the AK system > tests|https://github.com/apache/kafka/blob/trunk/tests/kafkatest/services/templates/connect_log4j.properties. -- This message was sent by Atlassian JIRA (v7.6.3#76005)