You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2019/10/23 11:50:00 UTC

[jira] [Commented] (FLINK-14508) google protobuf is not shaded

    [ https://issues.apache.org/jira/browse/FLINK-14508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957791#comment-16957791 ] 

Timo Walther commented on FLINK-14508:
--------------------------------------

Actually, protobuf should not be required in Flink's dependencies. Calcite declares a lot of dependencies that we don't need for how Flink uses Calcite. 

> google protobuf is not shaded 
> ------------------------------
>
>                 Key: FLINK-14508
>                 URL: https://issues.apache.org/jira/browse/FLINK-14508
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.8.0, 1.8.1, 1.8.2
>            Reporter: YING HOU
>            Priority: Major
>         Attachments: image-2019-10-23-16-55-00-959.png, image-2019-10-23-18-07-27-188.png, pom.xml
>
>
> I try to use phoenix in my flink project. When I use 'org.apache.phoenix.queryserver.client.Driver' as my jdbc driver which is inherited from 'org.apache.calcite.avatica.remote.Driver', I got a ClassNotFoundException as follow:
> !image-2019-10-23-16-55-00-959.png!
>  
> I guess the protobuf-java may not be shaded in the module flink-table-planner
> So, I add something in pom.xml.
> !image-2019-10-23-18-07-27-188.png!



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