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

Yang Wang commented on FLINK-17416:
-----------------------------------

[~wangxiyuan] Thanks for your comments. We have already explicitly set the 
okhttp version and it could not take effect. Maybe this issue is also related 
with the minikube version since it could work in a real K8s cluster with java 
8u252.
{code:java}
<!-- Set dependency version for transitive dependencies -->
<dependencyManagement>
   <dependencies>
      <dependency>
         <groupId>com.squareup.okhttp3</groupId>
         <artifactId>okhttp</artifactId>
         <version>3.12.11</version>
      </dependency>
   </dependencies>
</dependencyManagement>
{code}

> Flink-kubernetes doesn't work on java 8 8u252
> ---------------------------------------------
>
>                 Key: FLINK-17416
>                 URL: https://issues.apache.org/jira/browse/FLINK-17416
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.10.0, 1.11.0
>            Reporter: wangxiyuan
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>
> When using java-8-8u252 version, the flink container end-to-end failed. The 
> test  `Running 'Run kubernetes session test'` fails with the `Broken pipe` 
> error.
> See:
> [https://logs.openlabtesting.org/logs/periodic-20-flink-mail/github.com/apache/flink/master/flink-end-to-end-test-arm64-container/fcfdd47/job-output.txt.gz]
>  
> Flink Azure CI doesn't hit this problem because it runs under jdk-8-8u242
>  
> The reason is that the okhttp library which flink using doesn't work on 
> java-8-8u252:
> [https://github.com/square/okhttp/issues/5970]
>  
> The problem has been with the PR:
> [https://github.com/square/okhttp/pull/5977]
>  
> Maybe we can wait for a new 3.12.x release and bump the okhttp version in 
> Flink later.
>  
>  



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

Reply via email to