You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Alex Z (Jira)" <ji...@apache.org> on 2022/05/20 11:06:00 UTC

[jira] (FLINK-27134) OSS sink can't get access key id

    [ https://issues.apache.org/jira/browse/FLINK-27134 ]


    Alex Z deleted comment on FLINK-27134:
    --------------------------------

was (Author: alexzax):
[~wujinhu] What provider should I choose if I want to load assess key from flink-conf.yaml?

> OSS sink can't get  access key id
> ---------------------------------
>
>                 Key: FLINK-27134
>                 URL: https://issues.apache.org/jira/browse/FLINK-27134
>             Project: Flink
>          Issue Type: Bug
>          Components: FileSystems
>    Affects Versions: 1.12.3
>         Environment: flink version: 1.12.3
> patch: flink-11388
> fs.oss.sdk.version:3.4.1
> add flink-conf.yaml:
> fs.oss.credentials.provider: com.aliyun.oss.common.auth.EnvironmentVariableCredentialsProvider
> fs.oss.endpoint: cn-shanghai-internal.aliyuncs.com
> fs.oss.accessKeyId: ******
> fs.oss.accessKeySecret: ******
>            Reporter: Alex Z
>            Priority: Major
>         Attachments: error_info.png, keyid.png
>
>
> When I cherry-pick the flink-11388 patch to our flink code(version:1.12.3),the OSS sink can't Work.The error message is Access key id should not be null or empty,but I has been added the OSS configuration in flink-conf.yaml .And the configuration propertity also print the correct *fs.oss.accessKeyId*



--
This message was sent by Atlassian Jira
(v8.20.7#820007)