You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2019/11/19 07:54:00 UTC

[jira] [Created] (FLINK-14849) Can not submit job when use hive connector

Jingsong Lee created FLINK-14849:
------------------------------------

             Summary: Can not submit job when use hive connector
                 Key: FLINK-14849
                 URL: https://issues.apache.org/jira/browse/FLINK-14849
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Hive
            Reporter: Jingsong Lee


{code:java}
With:
<dependency>
    <groupId>org.apache.hive</groupId>
    <artifactId>hive-exec</artifactId>
    <version>3.1.1</version>
</dependency>

Caused by: java.lang.ClassCastException: org.codehaus.janino.CompilerFactory cannot be cast to org.codehaus.commons.compiler.ICompilerFactory
	at org.codehaus.commons.compiler.CompilerFactoryFactory.getCompilerFactory(CompilerFactoryFactory.java:129)
	at org.codehaus.commons.compiler.CompilerFactoryFactory.getDefaultCompilerFactory(CompilerFactoryFactory.java:79)
	at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.compile(JaninoRelMetadataProvider.java:432)
	... 68 more
{code}
After https://issues.apache.org/jira/browse/FLINK-13749 , flink-client will use default child-first resolve-order.

If user jar has some conflict dependents, there will be some problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)