Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16353

Issue when flink upload a job with stream sql query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 1.10.0
    • 1.10.0
    • Table SQL / API
    • None

    Description

      I used the latest flink version(1.10.0) and sbt(1.3.7). I have this exception when upload a job with streaming sql query:

       Caused by: java.lang.ClassCastException: class org.codehaus.janino.CompilerFactory cannot be cast to class org.codehaus.commons.compiler.ICompilerFactory (org.codehaus.janino.CompilerFactory is in unnamed module of loader org.apache.flink.util.ChildFirstClassLoader @3270d194; org.codehaus.commons.compiler.ICompilerFactory is in unnamed module of loader 'app')
      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)

       

      When I running main class with sbt run it works perfectly.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            miguelangel Miguel Angel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: