You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jimmy Wong (Jira)" <ji...@apache.org> on 2019/09/09 15:22:00 UTC

[jira] [Created] (FLINK-14031) flink-examples should add blink dependency on flink-examples-table

Jimmy Wong created FLINK-14031:
----------------------------------

             Summary: flink-examples should add blink dependency on flink-examples-table
                 Key: FLINK-14031
                 URL: https://issues.apache.org/jira/browse/FLINK-14031
             Project: Flink
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.9.0
            Reporter: Jimmy Wong
             Fix For: 1.9.0


The flink-examples-table module is missing Blink dependency. If I run a blink example with Intellij IDEA, have error:

 
{code:java}
Exception in thread "main" org.apache.flink.table.api.TableException: Could not instantiate the executor. Make sure a planner module is on the classpathException in thread "main" org.apache.flink.table.api.TableException: Could not instantiate the executor. Make sure a planner module is on the classpath at org.apache.flink.table.api.java.internal.StreamTableEnvironmentImpl.lookupExecutor(StreamTableEnvironmentImpl.java:140) at org.apache.flink.table.api.java.internal.StreamTableEnvironmentImpl.create(StreamTableEnvironmentImpl.java:110) at org.apache.flink.table.api.java.StreamTableEnvironment.create(StreamTableEnvironment.java:112) at org.apache.flink.table.examples.java.BlinkStreamSQL.main(BlinkStreamSQL.java:19)Caused by: org.apache.flink.table.api.NoMatchingTableFactoryException: Could not find a suitable table factory for 'org.apache.flink.table.delegation.ExecutorFactory' inthe classpath.
{code}
*But*, once I add Blink dependency, it'll work well.

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)