无法使用aws-fargate ecs加载大文件

问题描述 投票:0回答:1

我试着按照本页提到的说明进行操作......

https://towardsdatascience.com/serverless-distributed-data-pre-processing-using-dask-amazon-ecs-and-python-part-1-a6108c728cc4

并得到2个错误。一个与IAM角色有关,另一个与dask有关。

1)我检查了sagemaker策略包括完全访问权限并仍然获得此异常:

An error occurred (AccessDeniedException) when calling the UpdateService operation: User: arn:aws:sts::513469704633:assumed-role/AmazonSageMaker-ExecutionRole-20180101T192504/SageMaker is not authorized to perform: ecs:UpdateService on resource: *

2)我不明白取消错误意味着什么:

CancelledError: ('head-1-5-from-delayed-12929833853fcc20e3534186ebfd77f0', 0)

Python笔记本截图附件。 enter image description here

dask amazon-ecs dask-distributed aws-iam aws-fargate
1个回答
0
投票

我的第一个猜测是,你从fargate开始的dask工作者没有足够的权限来读取你的数据。您可能想要阅读这些文档:

http://docs.dask.org/en/latest/remote-data-services.html#amazon-s3

© www.soinside.com 2019 - 2024. All rights reserved.