flink sql client IDEA中运行报错

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

flink sql client IDEA中运行报错

xiongzhu
你好:
        在IDEA中执行org.apache.flink.table.client.SqlClient 报出以下错误:

        org.apache.flink.table.client.SqlClient embedded SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Exception in thread "main" org.apache.flink.table.client.SqlClientException: Failed to parse the Python command line options. at org.apache.flink.table.client.cli.CliOptionsParser.getPythonConfiguration(CliOptionsParser.java:368) at org.apache.flink.table.client.cli.CliOptionsParser.parseEmbeddedModeClient(CliOptionsParser.java:273) at org.apache.flink.table.client.SqlClient.main(SqlClient.java:195) Caused by: java.lang.ClassNotFoundException: org.apache.flink.python.util.PythonDependencyUtils at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348)  at org.apache.flink.table.client.cli.CliOptionsParser.getPythonConfiguration(CliOptionsParser.java:360) ... 2 more Process finished with exit code 1