You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rafi Aroch (Jira)" <ji...@apache.org> on 2020/04/12 21:47:00 UTC

[jira] [Comment Edited] (FLINK-14881) Upgrade AWS SDK to support "IAM Roles for Service Accounts" in AWS EKS

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

Rafi Aroch edited comment on FLINK-14881 at 4/12/20, 9:46 PM:
--------------------------------------------------------------

I've updated the aws-sdk-version to: *1.11.754*.
 When running the end-to-end tests I noticed a failure. It failed because of a new warning in the logs:
{code:java}
com.amazonaws.http.apache.utils.ApacheUtils - NoSuchMethodError was thrown when disabling normalizeUri. This indicates you are using an old version (< 4.5.8) of Apache http client. It is recommended to use http client version >= 4.5.9 to avoid the breaking change introduced in apache client 4.5.7 and the latency in exception handling. See https://github.com/aws/aws-sdk-java/issues/1919 for more information
{code}
In order to avoid this warning I would need to bump httpclient to >= 4.5.9 (latest is 4.5.12) and the corresponding httpcore (for 4.5.12 it's 4.4.13).
 After bumping the versions indeed the end-to-end tests pass.

[~trohrmann] As i'm not entirely aware of all implications of bumping versions to the above dependencies, I wanted to verify with you if you see any issue here.


was (Author: aroch):
I've updated the aws-sdk-version to: *1.11.754*.
When running the end-to-end I noticed a failure. It failed because of a new warning in the logs:
{code:java}
com.amazonaws.http.apache.utils.ApacheUtils - NoSuchMethodError was thrown when disabling normalizeUri. This indicates you are using an old version (< 4.5.8) of Apache http client. It is recommended to use http client version >= 4.5.9 to avoid the breaking change introduced in apache client 4.5.7 and the latency in exception handling. See https://github.com/aws/aws-sdk-java/issues/1919 for more information
{code}
In order to avoid this warning I would need to bump httpclient to >= 4.5.9 (latest is 4.5.12) and the corresponding httpcore (for 4.5.12 it's 4.4.13).
After bumping the versions indeed the end-to-end tests pass.

[~trohrmann] As i'm not entirely aware of all implications of bumping versions to the above dependencies, I wanted to verify with you if you see any issue here.


> Upgrade AWS SDK to support "IAM Roles for Service Accounts" in AWS EKS
> ----------------------------------------------------------------------
>
>                 Key: FLINK-14881
>                 URL: https://issues.apache.org/jira/browse/FLINK-14881
>             Project: Flink
>          Issue Type: Improvement
>          Components: FileSystems
>            Reporter: Vincent Chenal
>            Assignee: Rafi Aroch
>            Priority: Major
>
> In order to use IAM Roles for Service Accounts in AWS EKS, the minimum required version of the AWS SDK  is 1.11.625.
> [https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-minimum-sdk.html]



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