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

Zhenghua Gao edited comment on FLINK-13155 at 7/9/19 8:44 AM:
--------------------------------------------------------------

FLINK-12024 intros kafka-clients 2.2.0 version which packaged some json files 
in JAR. This makes the  jar validation fails.

docete@Zhenghua-MacBook:~/Downloads/tmp$ jar -tf kafka-clients-2.2.0.jar | grep 
json | head
 common/message/DescribeDelegationTokenRequest.json
 common/message/DeleteRecordsRequest.json
 common/message/CreateDelegationTokenResponse.json
 common/message/MetadataRequest.json
 common/message/HeartbeatResponse.json
 common/message/StopReplicaRequest.json
 common/message/ProduceRequest.json
 common/message/DeleteGroupsRequest.json
 common/message/EndTxnRequest.json
 common/message/UpdateMetadataRequest.json

 

All these JSON files are used to generate KAFKA request classes on compile 
time(to build kafka jar) and useless at runtime. So we can exclude them safely 
in flink-sql-connector-kafka module.


was (Author: docete):
[FLINK-12024|https://issues.apache.org/jira/browse/FLINK-12024] intros 
kafka-clients 2.2.0 version which packaged some json files in JAR. This makes 
the  jar validation fails.

docete@Zhenghua-MacBook:~/Downloads/tmp$ jar -tf kafka-clients-2.2.0.jar | grep 
json | head
common/message/DescribeDelegationTokenRequest.json
common/message/DeleteRecordsRequest.json
common/message/CreateDelegationTokenResponse.json
common/message/MetadataRequest.json
common/message/HeartbeatResponse.json
common/message/StopReplicaRequest.json
common/message/ProduceRequest.json
common/message/DeleteGroupsRequest.json
common/message/EndTxnRequest.json
common/message/UpdateMetadataRequest.json

> SQL Client end-to-end test fails on Travis
> ------------------------------------------
>
>                 Key: FLINK-13155
>                 URL: https://issues.apache.org/jira/browse/FLINK-13155
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Client
>    Affects Versions: 1.9.0
>            Reporter: Till Rohrmann
>            Assignee: Zhenghua Gao
>            Priority: Critical
>              Labels: pull-request-available, test-stability
>             Fix For: 1.9.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The {{SQL Client end-to-end test}} which executes 
> {{test-scripts/test_sql_client.sh}} fails on Travis with non-empty out files.
> https://api.travis-ci.org/v3/job/554991859/log.txt



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to