[
https://issues.apache.org/jira/browse/FLINK-17416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17107960#comment-17107960
]
Yang Wang commented on FLINK-17416:
-----------------------------------
Update on this issue.
After some discussion with author of the fabric8 kubernetes-client[1], we have
get a conclusion that kubernetes-client could not work with jdk 8u252 because
of the okhttp bug. Currently, we could use "export HTTP2_DISABLE=true" to
disable the http2.
Once the fabric8 kubernetes new version(4.9.2, 4.10.2) released, we need to
bump the version and get a clean solution.
[1]. [https://github.com/fabric8io/kubernetes-client/issues/2212]
> 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
>
> Attachments: log.k8s.session.8u252
>
>
> 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)