[ 
https://issues.apache.org/jira/browse/FLINK-14031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kurt Young closed FLINK-14031.
------------------------------
    Fix Version/s: 1.10.0
       Resolution: Fixed

merged in 1.10: b6e32a317ec273ee3f3085728a02bc3922c22db6

> flink-examples-table should add the blink planner dependency
> ------------------------------------------------------------
>
>                 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
>            Assignee: Jimmy Wong
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> The flink-examples-table module is missing blink planner 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 planner dependency, it'll work well.
>  



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

Reply via email to