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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)