You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "chenchencc (Jira)" <ji...@apache.org> on 2020/01/08 03:13:00 UTC
[jira] [Comment Edited] (FLINK-15463) export table sql jar ,meet
error: java.lang.ClassNotFoundException:
org.apache.flink.calcite.shaded.com.google.protobuf.MessageOrBuilder
[ https://issues.apache.org/jira/browse/FLINK-15463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010306#comment-17010306 ]
chenchencc edited comment on FLINK-15463 at 1/8/20 3:12 AM:
------------------------------------------------------------
These are two path to do it:
# package only flink-table-planner module ,then put it to the $FLINK_HOME/lib
# package the flink-table module, it needs recompile many modules, then put flink-table.jar to the $FLINK_HOME/lib
was (Author: chenchencc):
These are two path to do it:
# package only flink-table-planner module ,then put it to the $FLINK_HOME/lib
# package the flink-table module, it need recompile many modules, then put flink-table.jar to the $FLINK_HOME/lib
> export table sql jar ,meet error: java.lang.ClassNotFoundException: org.apache.flink.calcite.shaded.com.google.protobuf.MessageOrBuilder
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-15463
> URL: https://issues.apache.org/jira/browse/FLINK-15463
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.7.2, 1.9.1
> Environment: Windows 10
> Idea IDE
> Reporter: xiexinyuan
> Priority: Major
> Attachments: phoenix-test.zip
>
>
> I can use JDBCInputFormat connect phoenix correct.but when i export flink-table api , the program will crash. the error is :
> java.lang.ClassNotFoundException: org.apache.flink.calcite.shaded.com.google.protobuf.MessageOrBuilder
> the program code is zipped in the attachement.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)