Tan Trinh
12/08/2023, 4:31 AM2023-12-07 10:13:42,529 INFO org.apache.hadoop.fs.s3a.WriteOperationHelper [] - initiate MultiPartUpload on l2m-flink-55461-f1ecdf831e40-ac1e3eb8668f/checkpoints/0000000058a07ff20000000000000000/chk-195/_metadata: Retried 14: org.apache.hadoop.fs.s3a.AWSServiceThrottledException: initiate MultiPartUpload on l2m-flink-55461-f1ecdf831e40-ac1e3eb8668f/checkpoints/0000000058a07ff20000000000000000/chk-195/_metadata: com.amazonaws.services.s3.model.AmazonS3Exception: Resource requested is unreadable, please reduce your request rate (Service: Amazon S3; Status Code: 503; Error Code: SlowDown; Request ID: 179E85123A2AEDE9; S3 Extended Request ID: 1448ed5d-4190-4059-be26-2ca9c6520ace; Proxy: null), S3 Extended Request ID: 1448ed5d-4190-4059-be26-2ca9c6520ace:SlowDown: Resource requested is unreadable, please reduce your request rate (Service: Amazon S3; Status Code: 503; Error Code: SlowDown; Request ID: 179E85123A2AEDE9; S3 Extended Request ID: 1448ed5d-4190-4059-be26-2ca9c6520ace; Proxy: null)
That error make the Flink stuck in creating checkpoint state and restart.
Do we have some configuration to decrease that error or I need to do it from the Minio?
Thanks for your time reading my question!Prabhu Joseph
12/08/2023, 5:03 AMTan Trinh
12/08/2023, 6:05 AM2023-12-07 10:13:42,529 INFO org.apache.hadoop.fs.s3a.WriteOperationHelper [] - initiate MultiPartUpload on l2m-flink-55461-f1ecdf831e40-ac1e3eb8668f/checkpoints/0000000058a07ff20000000000000000/chk-195/_metadata: Retried 14: org.apache.hadoop.fs.s3a.AWSServiceThrottledException: initiate MultiPartUpload on l2m-flink-55461-f1ecdf831e40-ac1e3eb8668f/checkpoints/0000000058a07ff20000000000000000/chk-195/_metadata: com.amazonaws.services.s3.model.AmazonS3Exception: Resource requested is unreadable, please reduce your request rate (Service: Amazon S3; Status Code: 503; Error Code: SlowDown; Request ID: 179E85123A2AEDE9; S3 Extended Request ID: 1448ed5d-4190-4059-be26-2ca9c6520ace; Proxy: null), S3 Extended Request ID: 1448ed5d-4190-4059-be26-2ca9c6520ace:SlowDown: Resource requested is unreadable, please reduce your request rate (Service: Amazon S3; Status Code: 503; Error Code: SlowDown; Request ID: 179E85123A2AEDE9; S3 Extended Request ID: 1448ed5d-4190-4059-be26-2ca9c6520ace; Proxy: null)
Here is the whole log content
It's just a INFO logMartijn Visser
12/08/2023, 7:15 AMMartijn Visser
12/08/2023, 7:15 AMTan Trinh
12/08/2023, 7:28 AMTan Trinh
12/08/2023, 7:28 AMMartijn Visser
12/08/2023, 7:29 AMorg.apache.hadoop.fs.s3a is from the Hadoop multipart writer that the Flink Hadoop S3 implementation usesMartijn Visser
12/08/2023, 7:30 AMMartijn Visser
12/08/2023, 7:30 AMThe Presto S3 implementation is the recommended file system for checkpointing to S3.
Tan Trinh
12/08/2023, 7:34 AMapache.hadoop.fs.s3a.WriteOperationHelper ?Martijn Visser
12/08/2023, 7:34 AMTan Trinh
12/08/2023, 7:36 AMMartijn Visser
12/08/2023, 7:37 AMTan Trinh
12/08/2023, 7:40 AMMartijn Visser
12/08/2023, 7:41 AMTan Trinh
12/08/2023, 7:43 AMflinkConfiguration:
execution.checkpointing.interval: 60s
execution.checkpointing.unaligned: "true"
high-availability: org.apache.flink.kubernetes.highavailability.KubernetesHaServicesFactory
high-availability.storageDir: s3://flink/ha
kubernetes.jobmanager.node-selector: flink:"true"
kubernetes.jobmanager.tolerations: key:flink,operator:Equal,value:"true",effect:NoSchedule
kubernetes.taskmanager.node-selector: flink:"true"
kubernetes.taskmanager.tolerations: key:flink,operator:Equal,value:"true",effect:NoSchedule
metrics.reporter.prom.factory.class: org.apache.flink.metrics.prometheus.PrometheusReporterFactory
metrics.reporter.prom.port: "9999"
metrics.reporters: prom
s3.access-key: CbiEqBrWlLZtGiP4
s3.endpoint: http://minio:9000
s3.path.style.access: "true"
s3.secret-key:
state.backend: filesystem
state.checkpoints.dir: s3://flink/checkpoints
state.savepoints.dir: s3://flink/savepoints
taskmanager.memory.jvm-metaspace.size: 128mb
taskmanager.memory.managed.size: 16mb
taskmanager.memory.segment-size: 1mb
taskmanager.numberOfTaskSlots: "1"
Here is my configTan Trinh
12/08/2023, 7:46 AMflinkConfiguration:
execution.checkpointing.interval: 60s
execution.checkpointing.unaligned: "true"
s3.entropy.key: _entropy_
s3.entropy.length: "4"
state.savepoints.dir: s3p://flink/savepoints
state.checkpoints.dir: s3p://flink/_entropy_/checkpoints
high-availability.storageDir: s3p://flink/ha
high-availability: org.apache.flink.kubernetes.highavailability.KubernetesHaServicesFactory
kubernetes.jobmanager.node-selector: flink:"true"
kubernetes.jobmanager.tolerations: key:flink,operator:Equal,value:"true",effect:NoSchedule
kubernetes.taskmanager.node-selector: flink:"true"
kubernetes.taskmanager.tolerations: key:flink,operator:Equal,value:"true",effect:NoSchedule
metrics.reporter.prom.factory.class: org.apache.flink.metrics.prometheus.PrometheusReporterFactory
metrics.reporter.prom.port: "9999"
metrics.reporters: prom
s3.access-key: CbiEqBrWlLZtGiP4
s3.endpoint: http://minio:9000
s3.path.style.access: "true"
s3.secret-key:
state.backend: filesystem
taskmanager.memory.jvm-metaspace.size: 128mb
taskmanager.memory.managed.size: 16mb
taskmanager.memory.segment-size: 1mb
taskmanager.numberOfTaskSlots: "1"raghav tandon
01/11/2024, 3:49 PM_entropy_ string with a random one in S3?