snuyanzin commented on code in PR #29823:
URL: https://github.com/apache/flink/pull/29823#discussion_r4606315157
##########
docs/content.zh/docs/deployment/filesystems/s3.md:
##########
@@ -230,6 +230,36 @@ cp ./opt/flink-s3-fs-hadoop-{{< version >}}.jar
./plugins/s3-fs-hadoop/
The [common configuration](#common-configuration) options apply. In addition,
[Hadoop's s3a configuration
keys](https://hadoop.apache.org/docs/stable/hadoop-aws/tools/hadoop-aws/index.html#S3A)
are supported. Hadoop configuration keys are automatically translated — for
example, `fs.s3a.connection.maximum` becomes `s3.connection.maximum`.
+**Input stream type:** hadoop-aws 3.4.3 changes its default input stream to
the [S3 Analytics
Accelerator](https://hadoop.apache.org/docs/stable/hadoop-aws/tools/hadoop-aws/stream_architecture.html)
(`fs.s3a.input.stream.type: analytics`), which alters read patterns,
per-stream memory usage, and the volume of S3 GET requests. To keep upgrades
behavior-preserving, Flink pins the classic input stream by default. To opt in
to the analytics stream, set `s3.input.stream.type: analytics`; setting the
legacy `s3.prefetch.enabled: true` toggle is also respected and selects
Hadoop's prefetching stream.
+
+**AWS SDK v1 credentials providers:** the Hadoop S3 FileSystem uses AWS SDK
v2. Hadoop maps common SDK v1 provider names in
`fs.s3a.aws.credentials.provider` to their SDK v2 equivalents, and Flink adds
mappings for `com.amazonaws.auth.DefaultAWSCredentialsProviderChain`,
`com.amazonaws.auth.WebIdentityTokenCredentialsProvider`,
`com.amazonaws.auth.SystemPropertiesCredentialsProvider` and
`com.amazonaws.auth.ContainerCredentialsProvider`. A custom provider must
implement `software.amazon.awssdk.auth.credentials.AwsCredentialsProvider`;
other SDK v1 names can be mapped with `s3.aws.credentials.provider.mapping`.
+
+**Part checksums:** the `FileSink` doesn't support S3 part checksums with the
Hadoop S3 FileSystem. Leave `s3.create.checksum.algorithm` and
`s3.checksum.generation` unset. Instead, it sends a `Content-MD5` header with
each upload, so S3 rejects data that arrives corrupted.
+
+#### Changed defaults from the Hadoop 3.4 upgrade
+
+The Hadoop S3 FileSystem passes Hadoop's s3a defaults through. Hadoop 3.4
changed several of them, and Flink keeps the new values, except for the input
stream type above.
+
+| Key | Hadoop 3.3.4 default | Hadoop 3.4.3 default |
Review Comment:
do we still anything 3.3.4 related in docs?
##########
docs/content.zh/docs/deployment/filesystems/s3.md:
##########
@@ -230,6 +230,36 @@ cp ./opt/flink-s3-fs-hadoop-{{< version >}}.jar
./plugins/s3-fs-hadoop/
The [common configuration](#common-configuration) options apply. In addition,
[Hadoop's s3a configuration
keys](https://hadoop.apache.org/docs/stable/hadoop-aws/tools/hadoop-aws/index.html#S3A)
are supported. Hadoop configuration keys are automatically translated — for
example, `fs.s3a.connection.maximum` becomes `s3.connection.maximum`.
+**Input stream type:** hadoop-aws 3.4.3 changes its default input stream to
the [S3 Analytics
Accelerator](https://hadoop.apache.org/docs/stable/hadoop-aws/tools/hadoop-aws/stream_architecture.html)
(`fs.s3a.input.stream.type: analytics`), which alters read patterns,
per-stream memory usage, and the volume of S3 GET requests. To keep upgrades
behavior-preserving, Flink pins the classic input stream by default. To opt in
to the analytics stream, set `s3.input.stream.type: analytics`; setting the
legacy `s3.prefetch.enabled: true` toggle is also respected and selects
Hadoop's prefetching stream.
+
+**AWS SDK v1 credentials providers:** the Hadoop S3 FileSystem uses AWS SDK
v2. Hadoop maps common SDK v1 provider names in
`fs.s3a.aws.credentials.provider` to their SDK v2 equivalents, and Flink adds
mappings for `com.amazonaws.auth.DefaultAWSCredentialsProviderChain`,
`com.amazonaws.auth.WebIdentityTokenCredentialsProvider`,
`com.amazonaws.auth.SystemPropertiesCredentialsProvider` and
`com.amazonaws.auth.ContainerCredentialsProvider`. A custom provider must
implement `software.amazon.awssdk.auth.credentials.AwsCredentialsProvider`;
other SDK v1 names can be mapped with `s3.aws.credentials.provider.mapping`.
+
+**Part checksums:** the `FileSink` doesn't support S3 part checksums with the
Hadoop S3 FileSystem. Leave `s3.create.checksum.algorithm` and
`s3.checksum.generation` unset. Instead, it sends a `Content-MD5` header with
each upload, so S3 rejects data that arrives corrupted.
+
+#### Changed defaults from the Hadoop 3.4 upgrade
+
+The Hadoop S3 FileSystem passes Hadoop's s3a defaults through. Hadoop 3.4
changed several of them, and Flink keeps the new values, except for the input
stream type above.
+
+| Key | Hadoop 3.3.4 default | Hadoop 3.4.3 default |
Review Comment:
do we still need anything 3.3.4 related in docs?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]