You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Pinal Shah (Jira)" <ji...@apache.org> on 2022/04/27 14:16:00 UTC

[jira] [Updated] (ATLAS-4569) Import kafka is failing with NoSuchMethod error

     [ https://issues.apache.org/jira/browse/ATLAS-4569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pinal Shah updated ATLAS-4569:
------------------------------
    Fix Version/s: 3.0.0
                   2.3.0

> Import kafka is failing with NoSuchMethod error
> -----------------------------------------------
>
>                 Key: ATLAS-4569
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4569
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Dharshana M Krishnamoorthy
>            Assignee: Disha Talreja
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>
> Unable to perform kafka import as it is failing with the following exception.
> Log from console
> {code:java}
> >>>>> /opt/cloudera/parcels/CDH/lib/atlas
> Using Kafka configuration directory [/etc/kafka/conf]
> Log file for import is /var/log/atlas/import-kafka.log
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.23291269/jars/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.23291269/jars/slf4j-log4j12-1.7.30.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.apache.logging.slf4j.Log4jLoggerFactory]
> Exception in thread "main" java.lang.NoSuchMethodError: org.apache.log4j.helpers.OptionConverter.convertLevel(Ljava/lang/String;Lorg/apache/logging/log4j/Level;)Lorg/apache/logging/log4j/Level;
>     at org.apache.log4j.xml.XmlConfiguration.parseLevel(XmlConfiguration.java:646)
>     at org.apache.log4j.xml.XmlConfiguration.lambda$parseChildrenOfLoggerElement$4(XmlConfiguration.java:563)
>     at org.apache.log4j.xml.XmlConfiguration.forEachElement(XmlConfiguration.java:762)
>     at org.apache.log4j.xml.XmlConfiguration.parseChildrenOfLoggerElement(XmlConfiguration.java:548)
>     at org.apache.log4j.xml.XmlConfiguration.parseCategory(XmlConfiguration.java:530)
>     at org.apache.log4j.xml.XmlConfiguration.lambda$parse$6(XmlConfiguration.java:721)
>     at org.apache.log4j.xml.XmlConfiguration.forEachElement(XmlConfiguration.java:762)
>     at org.apache.log4j.xml.XmlConfiguration.parse(XmlConfiguration.java:717)
>     at org.apache.log4j.xml.XmlConfiguration.doConfigure(XmlConfiguration.java:166)
>     at org.apache.log4j.xml.XmlConfiguration.doConfigure(XmlConfiguration.java:141)
>     at org.apache.log4j.config.Log4j1Configuration.initialize(Log4j1Configuration.java:60)
>     at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)
>     at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)
>     at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699)
>     at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716)
>     at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270)
>     at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155)
>     at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)
>     at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
>     at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:137)
>     at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:55)
>     at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47)
>     at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33)
>     at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
>     at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
>     at org.apache.atlas.kafka.bridge.KafkaBridge.<clinit>(KafkaBridge.java:56)
> Failed to import Kafka Data Model!!! {code}
> Issue is seen on 7.1.8 build: *23291269*



--
This message was sent by Atlassian Jira
(v8.20.7#820007)