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/04/08 09:22:00 UTC

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

Alex Z created FLINK-27134:
------------------------------

             Summary: 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
         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 alse print the correct *fs.oss.accessKeyId*



--
This message was sent by Atlassian Jira
(v8.20.1#820001)