You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Eric Ogren (Jira)" <ji...@apache.org> on 2020/11/18 17:54:00 UTC
[jira] [Created] (GOBBLIN-1321) Gobblin CLI doesn't work with
standard built distribution
Eric Ogren created GOBBLIN-1321:
-----------------------------------
Summary: Gobblin CLI doesn't work with standard built distribution
Key: GOBBLIN-1321
URL: https://issues.apache.org/jira/browse/GOBBLIN-1321
Project: Apache Gobblin
Issue Type: Bug
Reporter: Eric Ogren
Default distribution looks like it has log4j binding conflicts:
{noformat}
$ gobblin-dist bin/gobblin cli run listQuickApps
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/eogren/gobblin-dist/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hadoop-2.7.7/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Detected both log4j-over-slf4j.jar AND bound slf4j-log4j12.jar on the class path, preempting StackOverflowError.
SLF4J: See also http://www.slf4j.org/codes.html#log4jDelegationLoop for more details.
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:72)
at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:45)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
at org.apache.gobblin.util.ClassAliasResolver.<clinit>(ClassAliasResolver.java:51)
at org.apache.gobblin.runtime.cli.GobblinCli.main(GobblinCli.java:32)
Caused by: java.lang.IllegalStateException: Detected both log4j-over-slf4j.jar AND bound slf4j-log4j12.jar on the class path, preempting StackOverflowError. See also http://www.slf4j.org/codes.html#log4jDelegationLoop for more details.
at org.slf4j.impl.Log4jLoggerFactory.<clinit>(Log4jLoggerFactory.java:54)
... 9 more
$
{noformat}
To repro:
1. Checked out trunk from the Apache Git mirror (rev 7352cad8ae3a1d9be10d3b6fb78383ccbada9b19)
2. Ran ./gradlew build (after downloading gradle wrapper)
3. Ran tar xvzf src/incubator-gobblin/apache-gobblin-incubating-bin-0.15.0.tar.gz
4. cd gobblin-dist
5. bin/gobblin/cli run listQuickApps
--
This message was sent by Atlassian Jira
(v8.3.4#803005)