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

时间:2019-01-13 04:20:56

标签: dask amazon-ecs dask-distributed aws-iam aws-fargate

我试图按照本页上的说明进行操作...

libspatialindex and Rtree on python

出现2个错误。一个与IAM角色有关,另一个与dask有关。

1)我检查了智者政策是否包含完全访问权限,并且仍然遇到此异常:

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笔记本屏幕截图。 https://towardsdatascience.com/serverless-distributed-data-pre-processing-using-dask-amazon-ecs-and-python-part-1-a6108c728cc4

1 个答案:

答案 0 :(得分:0)

我的第一个猜测是,从Fargate开始的敏捷工作人员没有足够的权限来读取您的数据。您可能需要阅读以下文档:

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