You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2022/06/02 11:24:00 UTC

[jira] [Commented] (IGNITE-16901) Add slf4j dependency to the Calcite module

    [ https://issues.apache.org/jira/browse/IGNITE-16901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545422#comment-17545422 ] 

Ignite TC Bot commented on IGNITE-16901:
----------------------------------------

{panel:title=Branch: [pull/10061/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10061/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--&gt; Run :: Basic Tests* Results|https://ci.ignite.apache.org/viewLog.html?buildId=6603959&amp;buildTypeId=IgniteTests24Java8_RunBasicTests]

> Add slf4j dependency to the Calcite module
> ------------------------------------------
>
>                 Key: IGNITE-16901
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16901
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Amelchev Nikita
>            Assignee: Aleksey Plekhanov
>            Priority: Critical
>             Fix For: 2.14
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The Ignite can't be started if copy the calcite module to the class path:
> {noformat}
> Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
> 	at org.apache.calcite.util.trace.CalciteTrace.getParserTracer(CalciteTrace.java:120)
> 	at org.apache.calcite.util.trace.CalciteTrace.<clinit>(CalciteTrace.java:58)
> 	at org.apache.calcite.sql.parser.impl.SqlParserImpl.<clinit>(SqlParserImpl.java:117)
> 	at org.apache.calcite.sql.parser.SqlParser$Config.parserFactory(SqlParser.java:313)
> 	at org.apache.calcite.sql.parser.ImmutableSqlParser$Config.parserFactoryInitialize(ImmutableSqlParser.java:352)
> 	at org.apache.calcite.sql.parser.ImmutableSqlParser$Config.access$2200(ImmutableSqlParser.java:48)
> 	at org.apache.calcite.sql.parser.ImmutableSqlParser$Config$InitShim.parserFactory(ImmutableSqlParser.java:293)
> 	at org.apache.calcite.sql.parser.ImmutableSqlParser$Config.<init>(ImmutableSqlParser.java:68)
> 	at org.apache.calcite.sql.parser.ImmutableSqlParser$Config.<clinit>(ImmutableSqlParser.java:726)
> 	at org.apache.calcite.sql.parser.SqlParser$Config.<clinit>(SqlParser.java:254)
> 	at org.apache.calcite.tools.Frameworks$ConfigBuilder.<init>(Frameworks.java:249)
> 	at org.apache.calcite.tools.Frameworks$ConfigBuilder.<init>(Frameworks.java:226)
> 	at org.apache.calcite.tools.Frameworks.newConfigBuilder(Frameworks.java:210)
> 	at org.apache.ignite.internal.processors.query.calcite.CalciteQueryProcessor.<clinit>(CalciteQueryProcessor.java:111)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:264)
> 	at org.apache.ignite.internal.util.IgniteUtils.inClassPath(IgniteUtils.java:1791)
> 	at org.apache.ignite.startup.cmdline.CommandLineStartup.<clinit>(CommandLineStartup.java:122)
> Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 18 more
> {noformat}



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