mrdavidlaing
12/09/2021, 11:42 AMbotocore.exceptions.ClientError: An error occurred (SlowDown) when calling the PutObject operation (reached max retries: 4)
error when using a (possibly overloaded) internal S3 compatible blobstore to store job compute logs - see 🧵 for details.
Since this doesn't actually cause any of the op()
in the pipeline to fail I'm wondering if there is a way to mark this error as "ignorable"?dagster.core.errors.DagsterSubprocessError: During multiprocess execution errors occurred in child processes:
In process 29: botocore.exceptions.ClientError: An error occurred (SlowDown) when calling the PutObject operation (reached max retries: 4): Please reduce your request rate.Stack Trace:
File "/usr/local/lib/python3.7/site-packages/dagster/core/executor/child_process_executor.py", line 65, in _execute_command_in_child_process
for step_event in command.execute():
...snip...
File "/usr/local/lib/python3.7/site-packages/s3transfer/upload.py", line 694, in _main
client.put_object(Bucket=bucket, Key=key, Body=body, **extra_args)
File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 391, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 719, in _make_api_call
raise error_class(parsed_response, operation_name)In process 977: botocore.exceptions.ClientError: An error occurred (SlowDown) when calling the PutObject operation (reached max retries: 4): Please reduce your request rate.Stack Trace:
File "/usr/local/lib/python3.7/site-packages/dagster/core/executor/child_process_executor.py", line 65, in _execute_command_in_child_process
for step_event in command.execute():
File "/usr/local/lib/python3.7/site-packages/dagster/core/executor/multiprocess.py", line 83, in execute
instance=instance,
prha
12/09/2021, 6:36 PMDagster Bot
12/09/2021, 6:36 PMmrdavidlaing
12/09/2021, 6:38 PMRe: configuring the underlying boto library, any chance you can set an AWS config file on your run workers?If that means setting an env variable then yes - I just can't figure out which env var to set 🙂
prha
12/09/2021, 6:41 PMAWS_MAX_ATTEMPTS
do what you want? (from https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html)mrdavidlaing
12/10/2021, 11:28 AMAWS_MAX_ATTEMPTS
env var does appear to have made the problem go away for me.